From 48bf301e5578fe42b28a9442dac07a69099f8b11 Mon Sep 17 00:00:00 2001 From: tibbi Date: Sun, 3 Oct 2021 19:32:32 +0200 Subject: [PATCH] do not close the Upgraded From Free dialog on clicking outside of it --- .../simplemobiletools/gallery/pro/activities/MainActivity.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 13983c47f..e07942993 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 @@ -442,7 +442,7 @@ class MainActivity : SimpleActivity(), DirectoryOperationsListener { } if (!config.wasUpgradedFromFreeShown && isPackageInstalled("com.simplemobiletools.gallery")) { - ConfirmationDialog(this, "", R.string.upgraded_from_free, R.string.ok, 0) {} + ConfirmationDialog(this, "", R.string.upgraded_from_free, R.string.ok, 0, false) {} config.wasUpgradedFromFreeShown = true }