Minor cleanup
This commit is contained in:
@@ -552,7 +552,7 @@ class LibraryController(
|
||||
val common = presenter.getCommonCategories(mangas)
|
||||
// Get indexes of the mix categories to preselect.
|
||||
val mix = presenter.getMixCategories(mangas)
|
||||
var preselected = categories.map {
|
||||
val preselected = categories.map {
|
||||
when (it) {
|
||||
in common -> QuadStateTextView.State.CHECKED.ordinal
|
||||
in mix -> QuadStateTextView.State.INDETERMINATE.ordinal
|
||||
|
||||
Reference in New Issue
Block a user