show the dialog at Media activity too

This commit is contained in:
tibbi 2023-05-07 17:39:09 +02:00
parent e5552b6957
commit 9a49132948
2 changed files with 3 additions and 4 deletions

View file

@ -498,7 +498,7 @@ class MainActivity : SimpleActivity(), DirectoryOperationsListener {
mWasDefaultFolderChecked = true mWasDefaultFolderChecked = true
} }
if (!mWasUpgradedFromFreeShown && isPackageInstalled("com.simplemobiletools.gallery")) { if (isPackageInstalled("com.simplemobiletools.gallery")) {
ConfirmationDialog(this, "", R.string.upgraded_from_free_gallery, R.string.ok, 0, false) {} ConfirmationDialog(this, "", R.string.upgraded_from_free_gallery, R.string.ok, 0, false) {}
} }

View file

@ -103,9 +103,8 @@ class MediaActivity : SimpleActivity(), MediaOperationsListener {
if (mShowAll) { if (mShowAll) {
registerFileUpdateListener() registerFileUpdateListener()
if (!mWasUpgradedFromFreeShown && isPackageInstalled("com.simplemobiletools.gallery")) { if (isPackageInstalled("com.simplemobiletools.gallery")) {
ConfirmationDialog(this, "", R.string.upgraded_from_free, R.string.ok, 0, false) {} ConfirmationDialog(this, "", R.string.upgraded_from_free_gallery, R.string.ok, 0, false) {}
mWasUpgradedFromFreeShown = true
} }
} }