Fix misleading release grace period "Default" options

This commit is contained in:
arkon 2023-05-31 18:52:36 -04:00
parent 8f4bc71cf7
commit 8a5382042c

View File

@ -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),
) { ) {