Fix Omnipod bolus progress text
This commit is contained in:
parent
2c177b38bf
commit
77e3c73608
|
@ -366,7 +366,7 @@ public class AapsOmnipodErosManager {
|
|||
bolusCommandResult = executeCommand(() -> delegate.bolus(PumpType.OMNIPOD_EROS.determineCorrectBolusSize(detailedBolusInfo.insulin), beepsEnabled, beepsEnabled, detailedBolusInfo.getBolusType() == DetailedBolusInfo.BolusType.SMB ? null :
|
||||
(estimatedUnitsDelivered, percentage) -> {
|
||||
EventOverviewBolusProgress progressUpdateEvent = EventOverviewBolusProgress.INSTANCE;
|
||||
progressUpdateEvent.setStatus(getStringResource(R.string.bolusdelivering, detailedBolusInfo.insulin));
|
||||
progressUpdateEvent.setStatus(getStringResource(R.string.goingtodeliver, detailedBolusInfo.insulin));
|
||||
progressUpdateEvent.setPercent(percentage);
|
||||
sendEvent(progressUpdateEvent);
|
||||
}));
|
||||
|
|
Loading…
Reference in a new issue