From ee18490761a65a944e59700b018985a50f503de2 Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 18 May 2026 19:16:32 +0000 Subject: [PATCH] fix: pad GitRepositoryOverview content to clear top/bottom bars The Overview tab is a plain vertical-scroll Column inside DisappearingScaffold, which lays content under the top app bar + tab row and bottom nav. The Issues and Patches tabs go through RefresheableFeedView and already consume LocalDisappearingScaffoldPadding internally, but the Overview tab did not, so its top and bottom were hidden behind the surrounding UI. --- .../ui/screen/loggedIn/gitRepo/GitRepositoryOverview.kt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/gitRepo/GitRepositoryOverview.kt b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/gitRepo/GitRepositoryOverview.kt index e53b7b54b1..9020fb4384 100644 --- a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/gitRepo/GitRepositoryOverview.kt +++ b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/gitRepo/GitRepositoryOverview.kt @@ -50,6 +50,7 @@ import com.vitorpamplona.amethyst.commons.icons.symbols.MaterialSymbol import com.vitorpamplona.amethyst.commons.icons.symbols.MaterialSymbols import com.vitorpamplona.amethyst.model.LocalCache import com.vitorpamplona.amethyst.ui.components.ClickableUrl +import com.vitorpamplona.amethyst.ui.layouts.LocalDisappearingScaffoldPadding import com.vitorpamplona.amethyst.ui.navigation.navs.INav import com.vitorpamplona.amethyst.ui.navigation.routes.Route import com.vitorpamplona.amethyst.ui.note.ClickableUserPicture @@ -72,11 +73,13 @@ fun GitRepositoryOverview( accountViewModel: AccountViewModel, nav: INav, ) { + val scaffoldPadding = LocalDisappearingScaffoldPadding.current Column( modifier = Modifier .fillMaxSize() .verticalScroll(rememberScrollState()) + .padding(scaffoldPadding) .padding(horizontal = 12.dp, vertical = 16.dp), verticalArrangement = SectionSpacing, ) {