From bf662d16d9bde5bcdf06996676a71f215210be62 Mon Sep 17 00:00:00 2001 From: tibbi Date: Fri, 3 Feb 2023 20:46:14 +0100 Subject: [PATCH] properly detect the presence of the free app version too --- app/src/main/AndroidManifest.xml | 5 +++++ .../simplemobiletools/gallery/pro/activities/MainActivity.kt | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index b2ab99d82..51fd542b2 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -34,6 +34,11 @@ + + + + + diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/MainActivity.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/MainActivity.kt index c8515a321..bb935dd79 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/MainActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/MainActivity.kt @@ -468,7 +468,7 @@ class MainActivity : SimpleActivity(), DirectoryOperationsListener { } if (!config.wasUpgradedFromFreeShown && isPackageInstalled("com.simplemobiletools.gallery")) { - ConfirmationDialog(this, "", R.string.upgraded_from_free, R.string.ok, 0, false) {} + ConfirmationDialog(this, "", R.string.upgraded_to_pro, R.string.ok, 0, false) {} config.wasUpgradedFromFreeShown = true }