Modern Apps git

← Modern-Apps.git

weather: fix bottom cards hidden behind nav bar

Commit
f4303fc23859c093b659cdbdd513cfbfd60add77
Author
Vayun Mathur <[email protected]>
When
2026-07-30 18:13 UTC (4 months ago)
Parents
c00af15

Diff

weather/src/main/java/com/vayunmathur/weather/ui/HomePage.kt
diff --git a/weather/src/main/java/com/vayunmathur/weather/ui/HomePage.kt b/weather/src/main/java/com/vayunmathur/weather/ui/HomePage.ktindex 2a749df7d0..f763c3296d 100644--- a/weather/src/main/java/com/vayunmathur/weather/ui/HomePage.kt+++ b/weather/src/main/java/com/vayunmathur/weather/ui/HomePage.kt@@ -207,7 +207,14 @@ private fun LocationPage(                 )             }             Column(-                modifier = Modifier.padding(start = 16.dp, end = 16.dp, top = 24.dp),+                // Include the navigation-bar inset so the last cards (Air quality /+                // Pollen) clear the system nav bar and can scroll fully into view.+                modifier = Modifier.padding(+                    start = 16.dp,+                    end = 16.dp,+                    top = 24.dp,+                    bottom = paddingValues.calculateBottomPadding(),+                ),                 verticalArrangement = Arrangement.spacedBy(14.dp),             ) {                 if (selected == null) {