Fix some error
This commit is contained in:
parent
0e3a2835dd
commit
6d84ad1028
10 changed files with 30 additions and 26 deletions
|
@ -61,7 +61,7 @@ class LibraryPreferenceDialog : PreferenceDialogFragmentCompat() {
|
|||
|
||||
val categoryInfos: List<CategoryInfo>
|
||||
if (savedInstanceState != null) {
|
||||
categoryInfos = savedInstanceState.getParcelableArrayList(PreferenceUtil.LIBRARY_CATEGORIES)
|
||||
categoryInfos = savedInstanceState.getParcelableArrayList(PreferenceUtil.LIBRARY_CATEGORIES)!!
|
||||
} else {
|
||||
categoryInfos = PreferenceUtil.getInstance().libraryCategoryInfos
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue