Address some build warnings
This commit is contained in:
+2
-2
@@ -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
|
||||
}
|
||||
|
||||
+1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user