Updated on 2026-08-14
This commit is contained in:
parent
0330285106
commit
fd214bffd8
36 changed files with 313 additions and 261 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue