Skip to content

Commit 87c5635

Browse files
committed
chore: walletExists initialization
1 parent 8af25a3 commit 87c5635

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/to/bitkit/ui/MainActivity.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ class MainActivity : FragmentActivity() {
9494
val notificationsGranted by settingsViewModel.notificationsGranted.collectAsStateWithLifecycle()
9595
val walletExists by walletViewModel.walletState
9696
.map { it.walletExists }
97-
.collectAsStateWithLifecycle(initialValue = false)
97+
.collectAsStateWithLifecycle(initialValue = walletViewModel.walletExists)
9898

9999
// Monitor wallet state and notification permission changes
100100
LaunchedEffect(

0 commit comments

Comments
 (0)