weather: stack set-units button below search location instead of beside it
- Commit
b8c44f54e44dd149e7874694df2d0404eda5eabc- Author
- Vayun Mathur <[email protected]>
- When
- 2026-08-10 21:04 UTC (3 months ago)
- Parents
7d2b64f
Diff
weather/src/main/java/com/vayunmathur/weather/ui/LocationsScreen.kt
diff --git a/weather/src/main/java/com/vayunmathur/weather/ui/LocationsScreen.kt b/weather/src/main/java/com/vayunmathur/weather/ui/LocationsScreen.ktindex 0bc413ea70..191c273252 100644--- a/weather/src/main/java/com/vayunmathur/weather/ui/LocationsScreen.kt+++ b/weather/src/main/java/com/vayunmathur/weather/ui/LocationsScreen.kt@@ -264,15 +264,15 @@ fun LocationsScreen( }, bottomBar = { val context = LocalContext.current- Row(+ Column( modifier = Modifier .fillMaxWidth() .padding(horizontal = 16.dp, vertical = 12.dp),- horizontalArrangement = Arrangement.spacedBy(8.dp),+ verticalArrangement = Arrangement.spacedBy(8.dp), ) { Button( onClick = onSearchLocation,- modifier = Modifier.weight(1f),+ modifier = Modifier.fillMaxWidth(), ) { IconSearch() Spacer(Modifier.width(8.dp))@@ -280,7 +280,7 @@ fun LocationsScreen( } Button( onClick = { openRegionalUnitsSettings(context) },- modifier = Modifier.weight(1f),+ modifier = Modifier.fillMaxWidth(), ) { Text(stringResource(R.string.set_units)) }