From 3fe1d2a0d1ff915281c4211ef9ef0e0bec0d9d1a Mon Sep 17 00:00:00 2001 From: Milos Kozak Date: Thu, 17 Mar 2022 22:16:53 +0100 Subject: [PATCH] 3.0.0.1-dev-g --- app/build.gradle | 2 +- .../androidaps/plugins/pump/combo/data/ComboErrorUtil.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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