From 0c19a4081ffc10e076761cdccfa81e66e76a53dd Mon Sep 17 00:00:00 2001 From: Milos Kozak Date: Sat, 7 Dec 2019 19:18:52 +0100 Subject: [PATCH] ignoreCase = true --- .../plugins/constraints/versionChecker/VersionCheckerPlugin.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/info/nightscout/androidaps/plugins/constraints/versionChecker/VersionCheckerPlugin.kt b/app/src/main/java/info/nightscout/androidaps/plugins/constraints/versionChecker/VersionCheckerPlugin.kt index f63b2b19fa..5f643b1963 100644 --- a/app/src/main/java/info/nightscout/androidaps/plugins/constraints/versionChecker/VersionCheckerPlugin.kt +++ b/app/src/main/java/info/nightscout/androidaps/plugins/constraints/versionChecker/VersionCheckerPlugin.kt @@ -26,7 +26,7 @@ object VersionCheckerPlugin : PluginBase(PluginDescription() override fun onStart() { super.onStart() - if (BuildConfig.VERSION_NAME.contains("RC", ignoreCase = false)) { + if (BuildConfig.VERSION_NAME.contains("RC", ignoreCase = true)) { GRACE_PERIOD_WARNING = TimeUnit.DAYS.toMillis(0) GRACE_PERIOD_OLD = TimeUnit.DAYS.toMillis(7) GRACE_PERIOD_VERY_OLD = TimeUnit.DAYS.toMillis(14)