From 68ae04a0d8943d12ba5e3d27c5770c6b0d605a83 Mon Sep 17 00:00:00 2001 From: tibbi Date: Wed, 6 Mar 2019 20:19:31 +0100 Subject: [PATCH] do not show the "Go to date" button at the event list view --- .../simplemobiletools/calendar/pro/activities/MainActivity.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/kotlin/com/simplemobiletools/calendar/pro/activities/MainActivity.kt b/app/src/main/kotlin/com/simplemobiletools/calendar/pro/activities/MainActivity.kt index f028b8e48..806475cd4 100644 --- a/app/src/main/kotlin/com/simplemobiletools/calendar/pro/activities/MainActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/calendar/pro/activities/MainActivity.kt @@ -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)