From b84970edc55b463530271b35d3eafbb70b871a99 Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Fri, 27 Feb 2026 12:02:20 +0100 Subject: [PATCH] Ensure FAB is displayed when navigation bar is not --- .../kotlin/io/element/android/features/home/impl/HomeView.kt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 ca5740e646..ae2d7fb6a5 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 @@ -239,9 +239,11 @@ private fun HomeScaffold( } }, ) + } else { + HomeFloatingActionButton(onStartChatClick, CommonStrings.action_create_room) } }, - floatingActionButtonPosition = FabPosition.Center, + floatingActionButtonPosition = if (state.showNavigationBar) FabPosition.Center else FabPosition.End, content = { padding -> val contentPadding = PaddingValues( bottom = 112.dp,