do not show the "Go to date" button at the event list view
This commit is contained in:
parent
b62b36c8b6
commit
68ae04a0d8
1 changed files with 1 additions and 0 deletions
|
@ -155,6 +155,7 @@ class MainActivity : SimpleActivity(), RefreshRecyclerViewListener {
|
||||||
goToTodayButton = findItem(R.id.go_to_today)
|
goToTodayButton = findItem(R.id.go_to_today)
|
||||||
findItem(R.id.filter).isVisible = mShouldFilterBeVisible
|
findItem(R.id.filter).isVisible = mShouldFilterBeVisible
|
||||||
findItem(R.id.go_to_today).isVisible = shouldGoToTodayBeVisible && config.storedView != EVENTS_LIST_VIEW
|
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)
|
setupSearch(menu)
|
||||||
|
|
Loading…
Reference in a new issue