make sure the menu Filter button is visible when appropriate
This commit is contained in:
parent
c99b6f9391
commit
ea1ea33268
1 changed files with 1 additions and 0 deletions
|
@ -189,6 +189,7 @@ class MainActivity : SimpleActivity(), RefreshRecyclerViewListener {
|
|||
override fun onPrepareOptionsMenu(menu: Menu): Boolean {
|
||||
menu.apply {
|
||||
findItem(R.id.refresh_caldav_calendars).isVisible = config.caldavSync
|
||||
findItem(R.id.filter).isVisible = mShouldFilterBeVisible
|
||||
}
|
||||
|
||||
return true
|
||||
|
|
Loading…
Reference in a new issue