mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
Adding Default categorie in global update pref (#745)
This commit is contained in:
parent
8826e7984f
commit
d72189b8e4
1 changed files with 6 additions and 2 deletions
|
@ -143,10 +143,14 @@ class SettingsLibraryController : SettingsController() {
|
|||
multiSelectListPreferenceMat(activity) {
|
||||
key = Keys.libraryUpdateCategories
|
||||
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
|
||||
}
|
||||
|
||||
intListPreference(activity) {
|
||||
key = Keys.updateOnRefresh
|
||||
titleRes = R.string.categories_on_manual
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue