show a welcome dialog at moving from the free version

This commit is contained in:
tibbi
2023-01-28 16:56:31 +01:00
parent 0c53b0b5fd
commit e316521bd4
2 changed files with 11 additions and 0 deletions

View File

@ -113,6 +113,12 @@ class MainActivity : SimpleActivity() {
checkAppOnSDCard()
setupSearchButtons()
if (!config.wasUpgradedFromFreeShown && isPackageInstalled("com.simplemobiletools.notes")) {
val dialogText = getString(R.string.upgraded_to_pro_notes)
ConfirmationDialog(this, dialogText, 0, R.string.ok, 0, false) {}
config.wasUpgradedFromFreeShown = true
}
}
override fun onResume() {