From 7243f8fb6645b8de9271f1a0b55352231b2c9015 Mon Sep 17 00:00:00 2001 From: Milos Kozak Date: Thu, 30 Dec 2021 22:50:03 +0100 Subject: [PATCH] fix setting equal basal profile --- .../nightscout/androidaps/queue/CommandQueueImplementation.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/info/nightscout/androidaps/queue/CommandQueueImplementation.kt b/app/src/main/java/info/nightscout/androidaps/queue/CommandQueueImplementation.kt index cf5f6f016e..f8f47fd80a 100644 --- a/app/src/main/java/info/nightscout/androidaps/queue/CommandQueueImplementation.kt +++ b/app/src/main/java/info/nightscout/androidaps/queue/CommandQueueImplementation.kt @@ -88,7 +88,7 @@ class CommandQueueImplementation @Inject constructor( override fun run() { if (!result.success) { ErrorHelperActivity.runAlarm(context, result.comment, rh.gs(R.string.failedupdatebasalprofile), R.raw.boluserror) - } else if (result.enacted) { + } else { val nonCustomized = ProfileSealed.PS(it).convertToNonCustomizedProfile(dateUtil) EffectiveProfileSwitch( timestamp = dateUtil.now(),