Allow filter menu to be opened even if no filters to allow for search saving

This commit is contained in:
NerdNumber9 2019-04-14 09:30:07 -04:00
parent 4d15ac2fa3
commit fe5c0295c3

View File

@ -331,10 +331,10 @@ open class BrowseCatalogueController(bundle: Bundle) :
menu.findItem(R.id.action_set_filter).apply { menu.findItem(R.id.action_set_filter).apply {
icon.mutate() icon.mutate()
if (presenter.sourceFilters.isEmpty()) { if (presenter.sourceFilters.isEmpty()) {
isEnabled = false // isEnabled = false [EXH]
icon.alpha = 128 icon.alpha = 128
} else { } else {
isEnabled = true // isEnabled = true [EXH]
icon.alpha = 255 icon.alpha = 255
} }
} }