File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
src/main/kotlin/com/criptext/mail/utils/apputils Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -47,8 +47,8 @@ android {
4747 defaultConfig {
4848 minSdkVersion 21
4949 targetSdkVersion 28
50- versionCode 90
51- versionName " 0.21.13 "
50+ versionCode 92
51+ versionName " 0.21.15 "
5252 applicationId " com.criptext.mail"
5353 testInstrumentationRunner " androidx.test.runner.AndroidJUnitRunner"
5454 multiDexEnabled true
Original file line number Diff line number Diff line change @@ -36,7 +36,6 @@ object AppRater {
3636
3737 // Wait at least n days before opening
3838 if (launchCount >= LAUNCHES_UNTIL_PROMPT ) {
39- showRateDialog(ctx, storage)
4039 if (System .currentTimeMillis() >= dateFirstLaunch + DAYS_UNTIL_PROMPT * 24 * 60 * 60 * 1000 ) {
4140 showRateDialog(ctx, storage)
4241 }
@@ -55,6 +54,7 @@ object AppRater {
5554 generalDialogConfirmation.btnCancel.text = mContext.getLocalizedUIMessage(UIMessage (R .string.rate_remind_later))
5655 generalDialogConfirmation.btnOk.setOnClickListener {
5756 mContext.startActivity(Intent (Intent .ACTION_VIEW , Uri .parse(" market://details?id=$APP_NAME " )))
57+ storage.putBool(KeyValueStorage .StringKey .RateDontShowAgain , true )
5858 generalDialogConfirmation.dismissDialog()
5959 }
6060
You can’t perform that action at this time.
0 commit comments