From 0e22a25d3dbb9686aef88693d472a3497b252be6 Mon Sep 17 00:00:00 2001 From: Vitor Pamplona Date: Thu, 19 Jan 2023 18:14:56 -0500 Subject: [PATCH] Removing double call refresh --- .../amethyst/ui/screen/loggedIn/NotificationScreen.kt | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/NotificationScreen.kt b/app/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/NotificationScreen.kt index 3d1a325e91..d3ff307a21 100644 --- a/app/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/NotificationScreen.kt +++ b/app/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/NotificationScreen.kt @@ -21,10 +21,6 @@ fun NotificationScreen(accountViewModel: AccountViewModel, navController: NavCon if (account != null) { val feedViewModel: CardFeedViewModel = viewModel { CardFeedViewModel( NostrNotificationDataSource ) } - LaunchedEffect(Unit) { - feedViewModel.refresh() - } - Column(Modifier.fillMaxHeight()) { Column( modifier = Modifier.padding(vertical = 0.dp)