diff --git a/omnipod/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/OmnipodPumpPlugin.java b/omnipod/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/OmnipodPumpPlugin.java index e4993f0d50..2c7252ca4a 100644 --- a/omnipod/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/OmnipodPumpPlugin.java +++ b/omnipod/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/OmnipodPumpPlugin.java @@ -586,7 +586,7 @@ public class OmnipodPumpPlugin extends PumpPluginBase implements PumpInterface, if (tbrCurrent != null && !enforceNew) { if (Round.isSame(tbrCurrent.absoluteRate, absoluteRate)) { aapsLogger.info(LTag.PUMP, "setTempBasalAbsolute - No enforceNew and same rate. Exiting."); - rxBus.send(new EventRefreshOverview("Omnipod command: TBR", true)); + rxBus.send(new EventRefreshOverview("Omnipod command: SetTemporaryBasal", false)); return new PumpEnactResult(getInjector()).success(true).enacted(false); } } @@ -624,7 +624,7 @@ public class OmnipodPumpPlugin extends PumpPluginBase implements PumpInterface, if (tbrCurrent == null) { aapsLogger.info(LTag.PUMP, "cancelTempBasal - TBR already canceled."); - rxBus.send(new EventRefreshOverview("Omnipod command: TBR", true)); + rxBus.send(new EventRefreshOverview("Omnipod command: CancelTemporaryBasal", false)); return new PumpEnactResult(getInjector()).success(true).enacted(false); } diff --git a/omnipod/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/dialogs/PodManagementActivity.kt b/omnipod/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/dialogs/PodManagementActivity.kt index 7bee093b0d..4620dd3bc2 100644 --- a/omnipod/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/dialogs/PodManagementActivity.kt +++ b/omnipod/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/dialogs/PodManagementActivity.kt @@ -11,7 +11,6 @@ import com.atech.android.library.wizardpager.data.WizardPagerSettings import com.atech.android.library.wizardpager.defs.WizardStepsWayType import dagger.android.HasAndroidInjector import info.nightscout.androidaps.activities.NoSplashAppCompatActivity -import info.nightscout.androidaps.events.EventRefreshOverview import info.nightscout.androidaps.interfaces.CommandQueueProvider import info.nightscout.androidaps.plugins.bus.RxBusWrapper import info.nightscout.androidaps.plugins.pump.common.events.EventRileyLinkDeviceStatusChange diff --git a/omnipod/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/driver/ui/OmnipodUIComm.java b/omnipod/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/driver/ui/OmnipodUIComm.java index f0c9b254ee..7b0fe0ecfd 100644 --- a/omnipod/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/driver/ui/OmnipodUIComm.java +++ b/omnipod/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/driver/ui/OmnipodUIComm.java @@ -48,7 +48,7 @@ public class OmnipodUIComm { aapsLogger.warn(LTag.PUMP, "Reply not received for " + commandType); } - rxBus.send(new EventRefreshOverview("Omnipod command: "+ commandType.name(), true)); + rxBus.send(new EventRefreshOverview("Omnipod command: " + commandType.name(), false)); return task; }