mirror of
https://github.com/mihonapp/mihon.git
synced 2024-12-25 18:38:23 +01:00
Fix nav bar appearing when going from Library's action mode (#7821)
fixes #7788
This commit is contained in:
parent
3760b310df
commit
6d6c38ecaf
@ -67,7 +67,10 @@ class LibraryController(
|
||||
)
|
||||
LaunchedEffect(presenter.selectionMode) {
|
||||
val activity = (activity as? MainActivity) ?: return@LaunchedEffect
|
||||
activity.showBottomNav(presenter.selectionMode.not())
|
||||
// Could perhaps be removed when navigation is in a Compose world
|
||||
if (router.backstackSize == 1) {
|
||||
activity.showBottomNav(presenter.selectionMode.not())
|
||||
}
|
||||
}
|
||||
LaunchedEffect(presenter.isLoading) {
|
||||
if (presenter.isLoading.not()) {
|
||||
|
Loading…
Reference in New Issue
Block a user