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