Add Timeline switcher button in PostingTimelineView. Switch between your following or NIP-81 favorites. User can favorite a user via ProfileActionSheetView or ProfileView.

Closes: https://github.com/damus-io/damus/issues/2438
Changelog-Added: Add Timeline switcher button for NIP-81-favorites
Signed-off-by: Askeew <askeew@hotmail.com>
This commit is contained in:
Askia Linder
2025-08-27 09:23:20 +02:00
committed by Daniel D’Aquino
parent 6605c5e583
commit 61f695b7c6
22 changed files with 767 additions and 31 deletions

View File

@@ -30,7 +30,9 @@ func generate_test_damus_state(
let damus = DamusState(keypair: test_keypair,
likes: .init(our_pubkey: our_pubkey),
boosts: .init(our_pubkey: our_pubkey),
contacts: .init(our_pubkey: our_pubkey), mutelist_manager: mutelist_manager,
contacts: .init(our_pubkey: our_pubkey),
contactCards: ContactCardManagerMock(),
mutelist_manager: mutelist_manager,
profiles: profiles,
dms: .init(our_pubkey: our_pubkey),
previews: .init(),