fix(ci): fix trailing spaces and revert visibility/padding changes
This commit is contained in:
1 parent
9e3a7ab339
commit
3a610c7c80
3 files changed
+5
-4
No files matched your search
@@ -193,7 +193,7 @@ fun MainNavigation() {
|
||||
NavigationController.updatePrimaryScreens(bottomNavKeys)
|
||||
}
|
||||
|
||||
val showBottomBar = currentScreen != ConnectScreen
|
||||
val isPrimaryScreen = currentScreen in bottomNavKeys
|
||||
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 (showBottomBar) {
|
||||
if (isPrimaryScreen) {
|
||||
NavigationBar {
|
||||
bottomNavItems.forEach { item ->
|
||||
NavigationBarItem(
|
||||
|
||||
@@ -57,7 +57,7 @@ object AuthManager {
|
||||
EncryptedSharedPreferences.PrefKeyEncryptionScheme.AES256_SIV,
|
||||
EncryptedSharedPreferences.PrefValueEncryptionScheme.AES256_GCM,
|
||||
)
|
||||
|
||||
|
||||
_bottomNavItemsFlow.value = getBottomNavItems()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -322,11 +322,12 @@ fun ChatScreen(
|
||||
)
|
||||
}
|
||||
},
|
||||
) { _ ->
|
||||
) { paddingValues ->
|
||||
Column(
|
||||
modifier =
|
||||
Modifier
|
||||
.fillMaxSize()
|
||||
.padding(paddingValues)
|
||||
.background(backgroundGradient)
|
||||
.imePadding(),
|
||||
) {
|
||||
|
||||
Reference in new issue
Block a user