Fixed reset button in Library categories preference
This commit is contained in:
parent
bd05de53d8
commit
d82e547f6d
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ class LibraryPreferenceDialog : DialogFragment() {
|
|||
.setNeutralButton(
|
||||
R.string.reset_action
|
||||
) { _, _ ->
|
||||
categoryAdapter.categoryInfos = PreferenceUtil.defaultCategories
|
||||
updateCategories(PreferenceUtil.defaultCategories)
|
||||
}
|
||||
.setNegativeButton(android.R.string.cancel, null)
|
||||
.setPositiveButton( R.string.done) { _, _ -> updateCategories(categoryAdapter.categoryInfos) }
|
||||
|
|
Loading…
Reference in a new issue