Merge pull request #50 from Hy4ri/fix/issue-49-always-show-bottom-bar

fix: keep bottom navigation bar always visible (closes #49)
This commit is contained in:
M57 authored and GitHub committed 2026-06-19 18:36:26 +03:00
commit a7fcfd4088
1 file changed
+2 -2
@@ -193,7 +193,7 @@ fun MainNavigation() {
NavigationController.updatePrimaryScreens(bottomNavKeys)
}
val isPrimaryScreen = currentScreen in bottomNavKeys
val showBottomBar = currentScreen != ConnectScreen
val gesturesEnabled = currentScreen in DRAWER_GESTURE_SCREENS
val openDrawer = { scope.launch { drawerState.open() } }
@@ -293,7 +293,7 @@ fun MainNavigation() {
Scaffold(
contentWindowInsets = WindowInsets.navigationBars,
bottomBar = {
if (isPrimaryScreen) {
if (showBottomBar) {
NavigationBar {
bottomNavItems.forEach { item ->
NavigationBarItem(