mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-12-23 14:31:50 +01:00
Adding Default categorie in global update pref (#745)
This commit is contained in:
parent
8826e7984f
commit
d72189b8e4
@ -143,10 +143,14 @@ class SettingsLibraryController : SettingsController() {
|
|||||||
multiSelectListPreferenceMat(activity) {
|
multiSelectListPreferenceMat(activity) {
|
||||||
key = Keys.libraryUpdateCategories
|
key = Keys.libraryUpdateCategories
|
||||||
titleRes = R.string.categories_to_include_in_global_update
|
titleRes = R.string.categories_to_include_in_global_update
|
||||||
entries = dbCategories.map { it.name }
|
|
||||||
entryValues = dbCategories.map { it.id.toString() }
|
val categories = listOf(Category.createDefault(context)) + dbCategories
|
||||||
|
entries = categories.map { it.name }
|
||||||
|
entryValues = categories.map { it.id.toString() }
|
||||||
|
|
||||||
allSelectionRes = R.string.all
|
allSelectionRes = R.string.all
|
||||||
}
|
}
|
||||||
|
|
||||||
intListPreference(activity) {
|
intListPreference(activity) {
|
||||||
key = Keys.updateOnRefresh
|
key = Keys.updateOnRefresh
|
||||||
titleRes = R.string.categories_on_manual
|
titleRes = R.string.categories_on_manual
|
||||||
|
Loading…
Reference in New Issue
Block a user