Fix initial EventOverviewBolusProgress
This commit is contained in:
parent
5475d9bceb
commit
0c93679ed2
|
@ -537,7 +537,7 @@ public class LocalInsightPlugin extends PluginBase implements PumpInterface, Con
|
||||||
t.isSMB = detailedBolusInfo.isSMB;
|
t.isSMB = detailedBolusInfo.isSMB;
|
||||||
final EventOverviewBolusProgress bolusingEvent = EventOverviewBolusProgress.getInstance();
|
final EventOverviewBolusProgress bolusingEvent = EventOverviewBolusProgress.getInstance();
|
||||||
bolusingEvent.t = t;
|
bolusingEvent.t = t;
|
||||||
bolusingEvent.status = MainApp.gs(R.string.insight_delivered, 0d, 0d);
|
bolusingEvent.status = MainApp.gs(R.string.insight_delivered, 0d, detailedBolusInfo.insulin);
|
||||||
bolusingEvent.percent = 0;
|
bolusingEvent.percent = 0;
|
||||||
MainApp.bus().post(bolusingEvent);
|
MainApp.bus().post(bolusingEvent);
|
||||||
int trials = 0;
|
int trials = 0;
|
||||||
|
|
Loading…
Reference in a new issue