From 9b3df6ca350f7306ac7d995cddf9c26d73c00ce7 Mon Sep 17 00:00:00 2001 From: tibbi Date: Sun, 27 Oct 2019 09:55:49 +0100 Subject: [PATCH] notify the user to use the latest version before sending an email --- build.gradle | 2 +- .../com/simplemobiletools/commons/activities/AboutActivity.kt | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index c6662ea92..912a4b39f 100644 --- a/build.gradle +++ b/build.gradle @@ -7,7 +7,7 @@ buildscript { propMinSdkVersion = 21 propTargetSdkVersion = propCompileSdkVersion propVersionCode = 1 - propVersionName = '5.18.12' + propVersionName = '5.18.13' kotlin_version = '1.3.50' } diff --git a/commons/src/main/kotlin/com/simplemobiletools/commons/activities/AboutActivity.kt b/commons/src/main/kotlin/com/simplemobiletools/commons/activities/AboutActivity.kt index 2742c81dd..f1ad9c760 100644 --- a/commons/src/main/kotlin/com/simplemobiletools/commons/activities/AboutActivity.kt +++ b/commons/src/main/kotlin/com/simplemobiletools/commons/activities/AboutActivity.kt @@ -75,7 +75,8 @@ class AboutActivity : BaseSimpleActivity() { baseConfig.wasBeforeAskingShown = true about_email.movementMethod = LinkMovementMethod.getInstance() about_email.setOnClickListener(null) - ConfirmationDialog(this, "", R.string.before_asking_question_read_faq, R.string.read_it, R.string.skip) { + val msg = "${getString(R.string.before_asking_question_read_faq)}\n\n${getString(R.string.make_sure_latest)}" + ConfirmationDialog(this, msg, 0, R.string.read_it, R.string.skip) { about_faq_label.performClick() } }