mirror of
https://github.com/mihonapp/mihon.git
synced 2025-10-09 12:59:34 +02:00
Fix misleading release grace period "Default" options
This commit is contained in:
@@ -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),
|
||||||
) {
|
) {
|
||||||
|
Reference in New Issue
Block a user