mirror of
https://git.mihon.tech/mihonapp/mihon
synced 2024-11-23 13:45:43 +03:00
MainActivity: Fix crash on back pressed (#7731)
This commit is contained in:
parent
71fc5d6d35
commit
441e7bf8b1
1 changed files with 0 additions and 1 deletions
|
@ -491,7 +491,6 @@ class MainActivity : BaseActivity() {
|
|||
if (backstackSize == 1 && startScreen == null) {
|
||||
// Return to start screen
|
||||
moveToStartScreen()
|
||||
setSelectedNavItem(startScreenId)
|
||||
} else if (startScreen != null && router.handleBack()) {
|
||||
// Clear selection for Library screen
|
||||
} else if (shouldHandleExitConfirmation()) {
|
||||
|
|
Loading…
Reference in a new issue