diff --git a/app/build.gradle b/app/build.gradle index 9ce1a8ae19..54d2cbe491 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -109,7 +109,7 @@ android { defaultConfig { multiDexEnabled true versionCode 1500 - version "3.0.0.1-dev-f" + version "3.0.0.1-dev-g" buildConfigField "String", "VERSION", '"' + version + '"' buildConfigField "String", "BUILDVERSION", '"' + generateGitBuild() + '-' + generateDate() + '"' buildConfigField "String", "REMOTE", '"' + generateGitRemote() + '"' diff --git a/combo/src/main/java/info/nightscout/androidaps/plugins/pump/combo/data/ComboErrorUtil.kt b/combo/src/main/java/info/nightscout/androidaps/plugins/pump/combo/data/ComboErrorUtil.kt index a1a74f2008..c5d33645bb 100644 --- a/combo/src/main/java/info/nightscout/androidaps/plugins/pump/combo/data/ComboErrorUtil.kt +++ b/combo/src/main/java/info/nightscout/androidaps/plugins/pump/combo/data/ComboErrorUtil.kt @@ -43,7 +43,7 @@ class ComboErrorUtil @Inject constructor( private val isErrorPresent: Boolean get() = errorMap.isNotEmpty() val errorCount: Int - get() = if (sp.contains(R.string.key_combo_error_count)) sp.getInt(R.string.key_combo_error_count, -1) else -1 + get() = sp.getInt(R.string.key_combo_error_count, -1) val displayType: DisplayType get() = DisplayType.valueOf(sp.getString(R.string.key_show_comm_error_count, "ON_ERROR")) } \ No newline at end of file