mirror of
https://github.com/jellyfin/jellyfin-androidtv.git
synced 2024-11-30 09:30:54 +00:00
Fix incorrectly navigating on resume
(cherry picked from commit 2c7bd27525
)
This commit is contained in:
parent
ea16d8a6a4
commit
bb42fd4801
@ -61,7 +61,7 @@ class MainActivity : FragmentActivity() {
|
||||
if (savedInstanceState == null && navigationRepository.canGoBack) navigationRepository.reset(clearHistory = true)
|
||||
|
||||
navigationRepository.currentAction
|
||||
.flowWithLifecycle(lifecycle, Lifecycle.State.RESUMED)
|
||||
.flowWithLifecycle(lifecycle, Lifecycle.State.STARTED)
|
||||
.onEach { action ->
|
||||
handleNavigationAction(action)
|
||||
backPressedCallback.isEnabled = navigationRepository.canGoBack
|
||||
|
Loading…
Reference in New Issue
Block a user