refactor: trim CacheLayout padding

pull/674/head
andrekir 2023-07-31 19:55:42 -03:00
rodzic b07ab5be02
commit 2a1f7a0bcd
1 zmienionych plików z 2 dodań i 4 usunięć

Wyświetl plik

@ -43,7 +43,7 @@ fun CacheLayout(
.fillMaxWidth()
.wrapContentHeight()
.background(colorResource(R.color.colorAdvancedBackground))
.padding(16.dp),
.padding(8.dp),
) {
Text(
text = stringResource(id = R.string.map_select_download_region),
@ -53,7 +53,7 @@ fun CacheLayout(
color = MaterialTheme.colors.onBackground.copy(alpha = ContentAlpha.medium)
)
Spacer(modifier = Modifier.height(16.dp))
Spacer(modifier = Modifier.height(8.dp))
val distances = listOf(5, 10, 15)
val selectedDistanceIndex = distances.indexOf(selectedDistance)
@ -74,8 +74,6 @@ fun CacheLayout(
color = MaterialTheme.colors.onBackground.copy(alpha = ContentAlpha.medium)
)
Spacer(modifier = Modifier.height(16.dp))
Row(
modifier = Modifier.fillMaxWidth(),
horizontalArrangement = Arrangement.SpaceBetween