diff --git a/app/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/driver/comm/AapsOmnipodManager.java b/app/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/driver/comm/AapsOmnipodManager.java index 269988abfe..baaaa8d4e4 100644 --- a/app/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/driver/comm/AapsOmnipodManager.java +++ b/app/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/driver/comm/AapsOmnipodManager.java @@ -397,10 +397,10 @@ public class AapsOmnipodManager implements OmnipodCommunicationManagerInterface long time = System.currentTimeMillis(); try { delegate.cancelTemporaryBasal(isTempBasalBeepsEnabled()); - addSuccessToHistory(time, PodHistoryEntryType.CancelTemporaryBasal, null); + addSuccessToHistory(time, PodHistoryEntryType.CancelTemporaryBasalForce, null); } catch (Exception ex) { String comment = handleAndTranslateException(ex); - addFailureToHistory(time, PodHistoryEntryType.CancelTemporaryBasal, comment); + addFailureToHistory(time, PodHistoryEntryType.CancelTemporaryBasalForce, comment); return new PumpEnactResult().success(false).enacted(false).comment(comment); } @@ -521,7 +521,7 @@ public class AapsOmnipodManager implements OmnipodCommunicationManagerInterface long time = System.currentTimeMillis(); - addSuccessToHistory(time, PodHistoryEntryType.CancelTemporaryBasalForce, null); + addSuccessToHistory(time, PodHistoryEntryType.CancelTemporaryBasal, null); TemporaryBasal temporaryBasal = new TemporaryBasal() // .date(time) // diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index fdda226de0..8a9d21cdc7 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -1703,8 +1703,8 @@ Set Bolus Cancel Bolus Set Temporary Basal - Cancel Temporary Basal - Cancel Temporary Basal (Forced) + Cancel Temporary Basal (Internally by driver) + Cancel Temporary Basal (Forced by user) Set Basal Schedule Get Pod Status Get Pod Info