From 6b6360d2c6c84148b34fd5e5e8a43717aefac0b3 Mon Sep 17 00:00:00 2001 From: AdrianLxM Date: Tue, 10 Dec 2019 16:05:49 +0100 Subject: [PATCH] Don't warn instantly on RC --- .../constraints/versionChecker/VersionCheckerPlugin.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 8ec716a872..9d88740d4b 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 @@ -88,7 +88,7 @@ object VersionCheckerPlugin : PluginBase(PluginDescription() enum class GracePeriod(val warning: Long, val old: Long, val veryOld: Long) { RELEASE(30, 60, 90), - RC(0, 7, 14) + RC(1, 7, 14) } -private fun Long.daysToMillis() = TimeUnit.DAYS.toMillis(this) \ No newline at end of file +private fun Long.daysToMillis() = TimeUnit.DAYS.toMillis(this)