Fix nav bar appearing when going from Library's action mode (#7821)
fixes #7788
Cette révision appartient à :
Parent
3760b310df
révision
6d6c38ecaf
1 fichiers modifiés avec 4 ajouts et 1 suppressions
|
@ -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()) {
|
||||
|
|
Référencer dans un nouveau ticket