kopia lustrzana https://github.com/meshtastic/Meshtastic-Android
refactor: trim CacheLayout padding
rodzic
b07ab5be02
commit
2a1f7a0bcd
|
@ -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
|
||||
|
|
Ładowanie…
Reference in New Issue