Updated on 2026-08-14

This commit is contained in:
Tangem 2021-10-13 18:54:49 +03:00
parent 0330285106
commit fd214bffd8
36 changed files with 313 additions and 261 deletions

View file

@ -74,7 +74,7 @@ class MainActivity : AppCompatActivity(), SnackbarHandler {
notificationsHandler = NotificationsHandler(fragment_container)
val backStackIsEmpty = supportFragmentManager.backStackEntryCount == 0
val isScannedBefore = store.state.globalState.scanNoteResponse != null
val isScannedBefore = store.state.globalState.scanResponse != null
val isOnboardingServiceActive = store.state.globalState.onboardingService != null
if (backStackIsEmpty || (!isOnboardingServiceActive && !isScannedBefore)) {
store.dispatch(NavigationAction.NavigateTo(AppScreen.Home))