ignoreCase = true

This commit is contained in:
Milos Kozak 2019-12-07 19:18:52 +01:00
parent 8124c0ae4d
commit 0c19a4081f

View file

@ -26,7 +26,7 @@ object VersionCheckerPlugin : PluginBase(PluginDescription()
override fun onStart() { override fun onStart() {
super.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_WARNING = TimeUnit.DAYS.toMillis(0)
GRACE_PERIOD_OLD = TimeUnit.DAYS.toMillis(7) GRACE_PERIOD_OLD = TimeUnit.DAYS.toMillis(7)
GRACE_PERIOD_VERY_OLD = TimeUnit.DAYS.toMillis(14) GRACE_PERIOD_VERY_OLD = TimeUnit.DAYS.toMillis(14)