Smart Update Dialog Tweak

* Smart Update Dialog Fix

* Build Fail Change 1

* Commit Suggested Change

Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>

* Build Fail Change 2

---------

Co-authored-by: Roshan Varughese <40583749+Animeboynz@users.noreply.github.com>
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
This commit is contained in:
Secozzi 2024-07-12 22:35:31 +02:00
parent d59fa3fcf3
commit 2ccd3ffc8f
No known key found for this signature in database
GPG key ID: 71E9C97D8DDC2662
2 changed files with 13 additions and 2 deletions

View file

@ -110,9 +110,18 @@ fun SetIntervalDialog(
),
),
)
Spacer(Modifier.height(MaterialTheme.padding.small))
} else {
Text(
stringResource(
if (isManga) {
MR.strings.manga_interval_expected_update_null
} else {
MR.strings.anime_interval_expected_update_null
},
),
)
}
Spacer(Modifier.height(MaterialTheme.padding.small))
if (onValueChanged != null && (isDevFlavor || isPreviewBuildType)) {
Text(stringResource(MR.strings.manga_interval_custom_amount))

View file

@ -612,6 +612,8 @@
<!-- "… around 2 days" -->
<string name="manga_interval_expected_update">New chapters predicted to be released in around %1$s, checking around every %2$s.</string>
<string name="anime_interval_expected_update">New episodes predicted to be released in around %1$s, checking around every %2$s.</string>
<string name="manga_interval_expected_update_null">This manga is either completed, or there is no predicted release date.</string>
<string name="anime_interval_expected_update_null">This anime is either completed, or there is no predicted release date.</string>
<string name="manga_interval_expected_update_soon">Soon</string>
<string name="manga_interval_custom_amount">Custom update frequency:</string>
<string name="chapter_downloading_progress">Downloading (%1$d/%2$d)</string>