show the initial Upgrade To Pro dialog at app update
This commit is contained in:
parent
0329816a4e
commit
64620dadf8
|
@ -41,7 +41,7 @@ android {
|
|||
}
|
||||
|
||||
dependencies {
|
||||
implementation 'com.simplemobiletools:commons:5.3.6'
|
||||
implementation 'com.simplemobiletools:commons:5.3.8'
|
||||
}
|
||||
|
||||
Properties props = new Properties()
|
||||
|
|
|
@ -16,6 +16,7 @@ import android.webkit.MimeTypeMap
|
|||
import android.widget.SeekBar
|
||||
import com.simplemobiletools.commons.dialogs.ColorPickerDialog
|
||||
import com.simplemobiletools.commons.dialogs.FilePickerDialog
|
||||
import com.simplemobiletools.commons.dialogs.UpgradeToProDialog
|
||||
import com.simplemobiletools.commons.extensions.*
|
||||
import com.simplemobiletools.commons.helpers.LICENSE_GLIDE
|
||||
import com.simplemobiletools.commons.helpers.PERMISSION_WRITE_STORAGE
|
||||
|
@ -76,6 +77,11 @@ class MainActivity : SimpleActivity(), CanvasListener {
|
|||
if (!isImageCaptureIntent) {
|
||||
checkWhatsNewDialog()
|
||||
}
|
||||
|
||||
if (!config.wasInitialUpgradeToProShown) {
|
||||
UpgradeToProDialog(this)
|
||||
config.wasInitialUpgradeToProShown = true
|
||||
}
|
||||
}
|
||||
|
||||
override fun onResume() {
|
||||
|
|
Loading…
Reference in New Issue