fix(navigation): show bottom bar on all screens except ConnectScreen

This commit is contained in:
Hy4ri committed 2026-06-19 18:31:37 +03:00
1 parent 2e56e2d9da
commit 0cdf8fd779
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(