Adding a category name for delete removed chapters settings

"Automatic removal"
This commit is contained in:
Jays2Kings 2021-04-29 01:46:46 -04:00
parent e1e8202192
commit 64feadcd66
2 changed files with 3 additions and 0 deletions

View File

@ -99,6 +99,8 @@ class SettingsDownloadController : SettingsController() {
preferences.downloadNew().asImmediateFlowIn(viewScope) { isVisible = it } preferences.downloadNew().asImmediateFlowIn(viewScope) { isVisible = it }
} }
preferenceCategory { preferenceCategory {
titleRes = R.string.automatic_removal
intListPreference(activity) { intListPreference(activity) {
key = Keys.deleteRemovedChapters key = Keys.deleteRemovedChapters
titleRes = R.string.delete_removed_chapters titleRes = R.string.delete_removed_chapters

View File

@ -806,6 +806,7 @@
<string name="ask_on_chapters_page">Delete during global updates, ask on chapters page</string> <string name="ask_on_chapters_page">Delete during global updates, ask on chapters page</string>
<string name="always_keep">Always keep</string> <string name="always_keep">Always keep</string>
<string name="always_delete">Always delete</string> <string name="always_delete">Always delete</string>
<string name="automatic_removal">Automatic removal</string>
<!-- Time --> <!-- Time -->
<string name="manual">Manual</string> <string name="manual">Manual</string>