mirror of
https://github.com/SimpleMobileTools/Simple-Notes.git
synced 2025-06-05 17:00:23 +02:00
show a welcome dialog at moving from the free version
This commit is contained in:
@ -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() {
|
||||
|
Reference in New Issue
Block a user