Skip to content

Commit 7609d64

Browse files
committed
fix: set delay transition to node running
1 parent 65009f8 commit 7609d64

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

app/src/main/java/to/bitkit/viewmodels/AppViewModel.kt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1507,9 +1507,7 @@ class AppViewModel @Inject constructor(
15071507
if (!walletRepo.walletExists()) return@launch
15081508

15091509
val data = uri.toString()
1510-
if (!lightningRepo.lightningState.value.nodeLifecycleState.isRunning()) {
1511-
delay(SCREEN_TRANSITION_DELAY_MS)
1512-
}
1510+
delay(SCREEN_TRANSITION_DELAY_MS)
15131511
handleScan(data)
15141512
}
15151513

0 commit comments

Comments
 (0)