From f5f55f084f990f2795ca1c6feb3bc822cf896248 Mon Sep 17 00:00:00 2001 From: Nocturnal <241546228+fullynocturnal@users.noreply.github.com> Date: Tue, 6 Oct 2026 22:36:51 +0000 Subject: [PATCH] fix(home): give the quick-switch carousel room above the bottom nav The carousel sits in Home's bottomBar slot, directly on top of the app's bottom navigation bar, and its 4dp bottom padding left the chips nearly touching it. Bump it to 12dp. --- .../main/java/systems/lupine/sheaf/ui/home/HomeScreen.kt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sheaf/app/src/main/java/systems/lupine/sheaf/ui/home/HomeScreen.kt b/sheaf/app/src/main/java/systems/lupine/sheaf/ui/home/HomeScreen.kt index 9e0bbdb..96d2d5b 100644 --- a/sheaf/app/src/main/java/systems/lupine/sheaf/ui/home/HomeScreen.kt +++ b/sheaf/app/src/main/java/systems/lupine/sheaf/ui/home/HomeScreen.kt @@ -791,13 +791,13 @@ private fun QuickSwitchCarousel( // The Scaffold's bottomBar slot doesn't auto-inset for the system // navigation bar, so the chip row was getting clipped a few pixels // by the gesture/3-button nav. navigationBarsPadding lifts the - // whole carousel above the nav inset; a small extra 4dp at the - // bottom matches the gap above the row so the float doesn't read - // as glued to the nav. + // whole carousel above the nav inset. The extra 12dp at the bottom + // keeps the chips off the app's bottom navigation bar, which sits + // right under this slot. Column( modifier = modifier .navigationBarsPadding() - .padding(top = 4.dp, bottom = 4.dp), + .padding(top = 4.dp, bottom = 12.dp), ) { Text( text = "Quick switch",