less notifications on unconfirmed commands when switching profile

This commit is contained in:
Andrei Vereha 2021-06-25 21:38:01 +02:00
parent efd3acbb2a
commit 989a20d023

View file

@ -269,7 +269,7 @@ class OmnipodDashPumpPlugin @Inject constructor(
rxBus.send(EventTempBasalChange()) rxBus.send(EventTempBasalChange())
} }
.ignoreElements() .ignoreElements()
).doFinally { ).doOnComplete() {
notifyOnUnconfirmed( notifyOnUnconfirmed(
Notification.FAILED_UPDATE_PROFILE, Notification.FAILED_UPDATE_PROFILE,
"Suspend delivery is unconfirmed! " + "Suspend delivery is unconfirmed! " +