From 989a20d02305800148634f082f6b608d277581a7 Mon Sep 17 00:00:00 2001 From: Andrei Vereha Date: Fri, 25 Jun 2021 21:38:01 +0200 Subject: [PATCH] less notifications on unconfirmed commands when switching profile --- .../plugins/pump/omnipod/dash/OmnipodDashPumpPlugin.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/omnipod-dash/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/dash/OmnipodDashPumpPlugin.kt b/omnipod-dash/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/dash/OmnipodDashPumpPlugin.kt index 5898ce8688..49364229ea 100644 --- a/omnipod-dash/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/dash/OmnipodDashPumpPlugin.kt +++ b/omnipod-dash/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/dash/OmnipodDashPumpPlugin.kt @@ -269,7 +269,7 @@ class OmnipodDashPumpPlugin @Inject constructor( rxBus.send(EventTempBasalChange()) } .ignoreElements() - ).doFinally { + ).doOnComplete() { notifyOnUnconfirmed( Notification.FAILED_UPDATE_PROFILE, "Suspend delivery is unconfirmed! " +