do not show the "Go to date" button at the event list view

This commit is contained in:
tibbi 2019-03-06 20:19:31 +01:00
parent b62b36c8b6
commit 68ae04a0d8
1 changed files with 1 additions and 0 deletions

View File

@ -155,6 +155,7 @@ class MainActivity : SimpleActivity(), RefreshRecyclerViewListener {
goToTodayButton = findItem(R.id.go_to_today)
findItem(R.id.filter).isVisible = mShouldFilterBeVisible
findItem(R.id.go_to_today).isVisible = shouldGoToTodayBeVisible && config.storedView != EVENTS_LIST_VIEW
findItem(R.id.go_to_date).isVisible = config.storedView != EVENTS_LIST_VIEW
}
setupSearch(menu)