show a dialog at upgrading from the free version
This commit is contained in:
parent
d84906bf9c
commit
8c6070a9dd
|
@ -63,6 +63,6 @@ android {
|
|||
}
|
||||
|
||||
dependencies {
|
||||
implementation 'com.github.SimpleMobileTools:Simple-Commons:f80a1e1ad8'
|
||||
implementation 'com.github.SimpleMobileTools:Simple-Commons:a7d47190b9'
|
||||
implementation "androidx.print:print:1.0.0"
|
||||
}
|
||||
|
|
|
@ -17,6 +17,7 @@ import android.widget.Toast
|
|||
import androidx.print.PrintHelper
|
||||
import com.simplemobiletools.commons.dialogs.ColorPickerDialog
|
||||
import com.simplemobiletools.commons.dialogs.ConfirmationAdvancedDialog
|
||||
import com.simplemobiletools.commons.dialogs.ConfirmationDialog
|
||||
import com.simplemobiletools.commons.extensions.*
|
||||
import com.simplemobiletools.commons.helpers.LICENSE_GLIDE
|
||||
import com.simplemobiletools.commons.helpers.PERMISSION_WRITE_STORAGE
|
||||
|
@ -129,6 +130,10 @@ class MainActivity : SimpleActivity(), CanvasListener {
|
|||
if (!isImageCaptureIntent) {
|
||||
checkWhatsNewDialog()
|
||||
}
|
||||
|
||||
if (isPackageInstalled("com.simplemobiletools.draw")) {
|
||||
ConfirmationDialog(this, "", R.string.upgraded_to_pro, R.string.ok, 0, false) {}
|
||||
}
|
||||
}
|
||||
|
||||
override fun onResume() {
|
||||
|
|
Loading…
Reference in New Issue