From f855a26b31ebe3e79a76b20e8142d6ba25743dfe Mon Sep 17 00:00:00 2001 From: Bruno Deanoz Date: Tue, 23 Jun 2026 01:41:07 +0200 Subject: [PATCH] fix: sidebar overlapping status bar on notch devices MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit statusBarsPadding() was on the inner Column (only pushed content down), but the GlassSurface itself started at a fixed 12dp from the top edge — on devices with tall notches (S25 Ultra) the sidebar header sat behind the system clock/icons. Moved statusBarsPadding() to the GlassSurface modifier so the entire glass panel starts below the status bar. --- app/src/main/java/dev/kaizen/app/chat/Sidebar.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/dev/kaizen/app/chat/Sidebar.kt b/app/src/main/java/dev/kaizen/app/chat/Sidebar.kt index d0c462a..8aeac31 100644 --- a/app/src/main/java/dev/kaizen/app/chat/Sidebar.kt +++ b/app/src/main/java/dev/kaizen/app/chat/Sidebar.kt @@ -119,8 +119,9 @@ fun KaizenSidebar( GlassSurface( modifier = modifier .fillMaxHeight() + .statusBarsPadding() .width(300.dp) - .padding(start = 12.dp, top = 12.dp, end = 4.dp, bottom = 12.dp), + .padding(start = 12.dp, top = 8.dp, end = 4.dp, bottom = 12.dp), shape = KaizenShapes.lg, tintAlpha = if (isDark) 0.80f else 0.86f, shadowStack = KaizenShadows.level3, @@ -129,7 +130,6 @@ fun KaizenSidebar( Column( Modifier .fillMaxSize() - .statusBarsPadding() .padding(16.dp) ) { // ── Header ──