mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-03-26 01:31:58 +01:00
create GalleryFeed earlier
This commit is contained in:
parent
ceaeb8e0b9
commit
856eb0da05
@ -240,6 +240,16 @@ fun PrepareViewModels(
|
||||
),
|
||||
)
|
||||
|
||||
val galleryFeedViewModel: NostrUserProfileGalleryFeedViewModel =
|
||||
viewModel(
|
||||
key = baseUser.pubkeyHex + "UserGalleryFeedViewModel",
|
||||
factory =
|
||||
NostrUserProfileGalleryFeedViewModel.Factory(
|
||||
baseUser,
|
||||
accountViewModel.account,
|
||||
),
|
||||
)
|
||||
|
||||
val followersFeedViewModel: NostrUserProfileFollowersUserFeedViewModel =
|
||||
viewModel(
|
||||
key = baseUser.pubkeyHex + "UserProfileFollowersUserFeedViewModel",
|
||||
@ -298,16 +308,6 @@ fun PrepareViewModels(
|
||||
),
|
||||
)
|
||||
|
||||
val galleryFeedViewModel: NostrUserProfileGalleryFeedViewModel =
|
||||
viewModel(
|
||||
key = baseUser.pubkeyHex + "UserGalleryFeedViewModel",
|
||||
factory =
|
||||
NostrUserProfileGalleryFeedViewModel.Factory(
|
||||
baseUser,
|
||||
accountViewModel.account,
|
||||
),
|
||||
)
|
||||
|
||||
val reportsFeedViewModel: NostrUserProfileReportFeedViewModel =
|
||||
viewModel(
|
||||
key = baseUser.pubkeyHex + "UserProfileReportFeedViewModel",
|
||||
|
Loading…
x
Reference in New Issue
Block a user