From c7ba6ce4ed96ed33abc258af6ba2cc8496ad5a00 Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Fri, 27 Feb 2026 12:04:13 +0100 Subject: [PATCH] Navigation bar: reduce bottom padding. --- .../kotlin/io/element/android/features/home/impl/HomeView.kt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/features/home/impl/src/main/kotlin/io/element/android/features/home/impl/HomeView.kt b/features/home/impl/src/main/kotlin/io/element/android/features/home/impl/HomeView.kt index ae2d7fb6a5..ddf8b1c499 100644 --- a/features/home/impl/src/main/kotlin/io/element/android/features/home/impl/HomeView.kt +++ b/features/home/impl/src/main/kotlin/io/element/android/features/home/impl/HomeView.kt @@ -23,7 +23,6 @@ import androidx.compose.foundation.lazy.rememberLazyListState import androidx.compose.material3.ExperimentalMaterial3Api import androidx.compose.material3.ExperimentalMaterial3ExpressiveApi import androidx.compose.material3.FabPosition -import androidx.compose.material3.FloatingToolbarDefaults.ScreenOffset import androidx.compose.material3.TopAppBarDefaults import androidx.compose.material3.rememberTopAppBarState import androidx.compose.runtime.Composable @@ -246,7 +245,7 @@ private fun HomeScaffold( floatingActionButtonPosition = if (state.showNavigationBar) FabPosition.Center else FabPosition.End, content = { padding -> val contentPadding = PaddingValues( - bottom = 112.dp, + bottom = 96.dp, ) when (state.currentHomeNavigationBarItem) { HomeNavigationBarItem.Chats -> { @@ -326,7 +325,6 @@ private fun HomeBottomBar( HorizontalFloatingToolbar( floatingActionButton = floatingActionButton, modifier = modifier - .padding(bottom = ScreenOffset) .zIndex(1f), ) { HomeNavigationBarItem.entries.forEachIndexed { index, item ->