Updated on 2026-08-14
This commit is contained in:
parent
929177b90e
commit
164124a7a5
1 changed files with 1 additions and 1 deletions
|
|
@ -30,7 +30,7 @@ private fun internalReduce(action: Action, state: AppState): NavigationState {
|
|||
when {
|
||||
// Destroy the activity if it invoked for the same activity. Prevents overwriting to null if there is a
|
||||
// new scan from the background [REDACTED_TASK_KEY]
|
||||
navState.activity?.get() == navigationAction.activity.get() -> navState.copy(activity = null)
|
||||
navState.activity?.get() == navigationAction.activity.get() -> NavigationState()
|
||||
else -> navState
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue