Address some build warnings

This commit is contained in:
arkon
2022-05-11 18:08:49 -04:00
parent 598e4516b3
commit b950370f12
8 changed files with 13 additions and 6 deletions
@@ -52,13 +52,13 @@ class MigrationSourcesController : ComposeController<MigrationSourcesPresenter>(
}
R.id.asc_alphabetical,
R.id.desc_alphabetical,
-> {
-> {
presenter.setAlphabeticalSorting(itemId == R.id.asc_alphabetical)
true
}
R.id.asc_count,
R.id.desc_count,
-> {
-> {
presenter.setTotalSorting(itemId == R.id.asc_count)
true
}
@@ -358,6 +358,7 @@ open class BrowseSourceController(bundle: Bundle) :
when (filter) {
is Filter.TriState -> filter.state = 1
is Filter.CheckBox -> filter.state = true
else -> {}
}
filterList = presenter.sourceFilters
break@filter