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 b16eaa9be..1cfdb9754 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 @@ -238,6 +238,7 @@ class MainActivity : SimpleActivity(), RefreshRecyclerViewListener { findItem(R.id.go_to_today).isVisible = shouldGoToTodayBeVisible && !mIsSearchOpen findItem(R.id.go_to_date).isVisible = config.storedView != EVENTS_LIST_VIEW findItem(R.id.refresh_caldav_calendars).isVisible = config.caldavSync + findItem(R.id.more_apps_from_us).isVisible = !resources.getBoolean(R.bool.hide_google_relations) } } @@ -260,6 +261,7 @@ class MainActivity : SimpleActivity(), RefreshRecyclerViewListener { R.id.add_anniversaries -> tryAddAnniversaries() R.id.import_events -> tryImportEvents() R.id.export_events -> tryExportEvents() + R.id.more_apps_from_us -> launchMoreAppsFromUsIntent() R.id.settings -> launchSettings() R.id.about -> launchAbout() else -> return@setOnMenuItemClickListener false diff --git a/app/src/main/res/menu/menu_main.xml b/app/src/main/res/menu/menu_main.xml index 43c8f9f16..e9fe2c186 100644 --- a/app/src/main/res/menu/menu_main.xml +++ b/app/src/main/res/menu/menu_main.xml @@ -64,6 +64,11 @@ android:showAsAction="never" android:title="@string/export_events_to_ics" app:showAsAction="never" /> +