From 8a5382042c58cfb54b206700fd6c4889fd278570 Mon Sep 17 00:00:00 2001 From: arkon Date: Wed, 31 May 2023 18:52:36 -0400 Subject: [PATCH] Fix misleading release grace period "Default" options --- .../more/settings/screen/SettingsLibraryScreen.kt | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/app/src/main/java/eu/kanade/presentation/more/settings/screen/SettingsLibraryScreen.kt b/app/src/main/java/eu/kanade/presentation/more/settings/screen/SettingsLibraryScreen.kt index b50e4ddb5..f6f454fbb 100644 --- a/app/src/main/java/eu/kanade/presentation/more/settings/screen/SettingsLibraryScreen.kt +++ b/app/src/main/java/eu/kanade/presentation/more/settings/screen/SettingsLibraryScreen.kt @@ -335,13 +335,7 @@ object SettingsLibraryScreen : SearchableSettings { contentAlignment = Alignment.Center, ) { val size = DpSize(width = maxWidth / 2, height = 128.dp) - val items = (0..MAX_GRACE_PERIOD).map { - if (it == 0) { - stringResource(R.string.label_default) - } else { - it.toString() - } - } + val items = (0..MAX_GRACE_PERIOD).map(Int::toString) Row( horizontalArrangement = Arrangement.spacedBy(8.dp), ) {