diff --git a/app/src/main/kotlin/com/simplemobiletools/draw/pro/activities/MainActivity.kt b/app/src/main/kotlin/com/simplemobiletools/draw/pro/activities/MainActivity.kt index b642aca..52fe8b2 100644 --- a/app/src/main/kotlin/com/simplemobiletools/draw/pro/activities/MainActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/draw/pro/activities/MainActivity.kt @@ -161,6 +161,7 @@ class MainActivity : SimpleActivity(), CanvasListener { findItem(R.id.menu_save).isVisible = !isImageCaptureIntent && !isEditIntent findItem(R.id.menu_share).isVisible = !isImageCaptureIntent && !isEditIntent findItem(R.id.open_file).isVisible = !isEditIntent + findItem(R.id.more_apps_from_us).isVisible = !resources.getBoolean(R.bool.hide_google_relations) } } @@ -174,6 +175,7 @@ class MainActivity : SimpleActivity(), CanvasListener { R.id.open_file -> tryOpenFile() R.id.change_background -> changeBackgroundClicked() R.id.menu_print -> printImage() + 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.xml b/app/src/main/res/menu/menu.xml index 5fd24fa..b669317 100644 --- a/app/src/main/res/menu/menu.xml +++ b/app/src/main/res/menu/menu.xml @@ -38,6 +38,11 @@ android:showAsAction="never" android:title="@string/print" app:showAsAction="never" /> +