We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8af25a3 commit 87c5635Copy full SHA for 87c5635
app/src/main/java/to/bitkit/ui/MainActivity.kt
@@ -94,7 +94,7 @@ class MainActivity : FragmentActivity() {
94
val notificationsGranted by settingsViewModel.notificationsGranted.collectAsStateWithLifecycle()
95
val walletExists by walletViewModel.walletState
96
.map { it.walletExists }
97
- .collectAsStateWithLifecycle(initialValue = false)
+ .collectAsStateWithLifecycle(initialValue = walletViewModel.walletExists)
98
99
// Monitor wallet state and notification permission changes
100
LaunchedEffect(
0 commit comments