From 173cc754d5d7509dcd4ab3c033d854452bfbabfa Mon Sep 17 00:00:00 2001 From: Milos Kozak Date: Mon, 10 Apr 2023 20:47:19 +0200 Subject: [PATCH] DanaI: fix saving user options --- .../nightscout/pump/dana/activities/DanaUserOptionsActivity.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pump/dana/src/main/java/info/nightscout/pump/dana/activities/DanaUserOptionsActivity.kt b/pump/dana/src/main/java/info/nightscout/pump/dana/activities/DanaUserOptionsActivity.kt index cf6be32b8b..ca1ef081e4 100644 --- a/pump/dana/src/main/java/info/nightscout/pump/dana/activities/DanaUserOptionsActivity.kt +++ b/pump/dana/src/main/java/info/nightscout/pump/dana/activities/DanaUserOptionsActivity.kt @@ -42,7 +42,7 @@ class DanaUserOptionsActivity : DaggerAppCompatActivity() { private val disposable = CompositeDisposable() // This is for Dana pumps only - private fun isRS() = activePlugin.activePump.pumpDescription.pumpType == PumpType.DANA_RS + private fun isRS() = activePlugin.activePump.pumpDescription.pumpType == PumpType.DANA_RS || activePlugin.activePump.pumpDescription.pumpType == PumpType.DANA_I private fun isDanaR() = activePlugin.activePump.pumpDescription.pumpType == PumpType.DANA_R private fun isDanaRv2() = activePlugin.activePump.pumpDescription.pumpType == PumpType.DANA_RV2