show an "Upgraded from Free" dialog at first launch of the Pro app

This commit is contained in:
tibbi 2019-04-01 16:58:25 +02:00
parent 439d189b00
commit 614c3def6a

View file

@ -151,6 +151,11 @@ class MainActivity : SimpleActivity(), DirectoryOperationsListener {
updateWidgets() updateWidgets()
registerFileUpdateListener() registerFileUpdateListener()
if (!config.wasUpgradedFromFreeShown && isPackageInstalled("com.simplemobiletools.gallery")) {
ConfirmationDialog(this, "", R.string.upgraded_from_free, R.string.ok, 0) {}
config.wasUpgradedFromFreeShown = true
}
} }
override fun onStart() { override fun onStart() {