mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-09-27 23:36:21 +02:00
Removing double call refresh
This commit is contained in:
@@ -21,10 +21,6 @@ fun NotificationScreen(accountViewModel: AccountViewModel, navController: NavCon
|
|||||||
if (account != null) {
|
if (account != null) {
|
||||||
val feedViewModel: CardFeedViewModel = viewModel { CardFeedViewModel( NostrNotificationDataSource ) }
|
val feedViewModel: CardFeedViewModel = viewModel { CardFeedViewModel( NostrNotificationDataSource ) }
|
||||||
|
|
||||||
LaunchedEffect(Unit) {
|
|
||||||
feedViewModel.refresh()
|
|
||||||
}
|
|
||||||
|
|
||||||
Column(Modifier.fillMaxHeight()) {
|
Column(Modifier.fillMaxHeight()) {
|
||||||
Column(
|
Column(
|
||||||
modifier = Modifier.padding(vertical = 0.dp)
|
modifier = Modifier.padding(vertical = 0.dp)
|
||||||
|
Reference in New Issue
Block a user