Fix misleading release grace period "Default" options
This commit is contained in:
parent
8f4bc71cf7
commit
8a5382042c
@ -335,13 +335,7 @@ object SettingsLibraryScreen : SearchableSettings {
|
|||||||
contentAlignment = Alignment.Center,
|
contentAlignment = Alignment.Center,
|
||||||
) {
|
) {
|
||||||
val size = DpSize(width = maxWidth / 2, height = 128.dp)
|
val size = DpSize(width = maxWidth / 2, height = 128.dp)
|
||||||
val items = (0..MAX_GRACE_PERIOD).map {
|
val items = (0..MAX_GRACE_PERIOD).map(Int::toString)
|
||||||
if (it == 0) {
|
|
||||||
stringResource(R.string.label_default)
|
|
||||||
} else {
|
|
||||||
it.toString()
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Row(
|
Row(
|
||||||
horizontalArrangement = Arrangement.spacedBy(8.dp),
|
horizontalArrangement = Arrangement.spacedBy(8.dp),
|
||||||
) {
|
) {
|
||||||
|
Loading…
Reference in New Issue
Block a user