Code refactor 🧑💻
This commit is contained in:
parent
2817dc1db5
commit
543893adba
26 changed files with 77 additions and 111 deletions
|
@ -72,9 +72,7 @@ class LibraryPreferenceDialog : DialogFragment() {
|
|||
categoryAdapter.categoryInfos = PreferenceUtil.defaultCategories
|
||||
}
|
||||
.setNegativeButton(android.R.string.cancel, null)
|
||||
.setPositiveButton(
|
||||
android.R.string.ok
|
||||
) { _, _ -> updateCategories(categoryAdapter.categoryInfos) }
|
||||
.setPositiveButton(R.string.ok) { _, _ -> updateCategories(categoryAdapter.categoryInfos) }
|
||||
.setView(view)
|
||||
.create()
|
||||
.colorButtons()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue