- fixed refresh

This commit is contained in:
Andy Rozman 2020-03-08 17:10:29 +00:00
parent 00ab0fc54b
commit 051e31fb4b

View file

@ -557,9 +557,6 @@ public class OmnipodPumpPlugin extends PumpPluginAbstract implements OmnipodPump
pumpState = PumpDriverState.Initialized; pumpState = PumpDriverState.Initialized;
} }
triggerUIChange();
RxBus.INSTANCE.send(new EventRefreshOverview("Omnipod Pump"));
getPodPumpStatus(); getPodPumpStatus();
} else { } else {
@ -568,9 +565,7 @@ public class OmnipodPumpPlugin extends PumpPluginAbstract implements OmnipodPump
OmnipodUtil.setDriverState(OmnipodDriverState.Initalized_NoPod); OmnipodUtil.setDriverState(OmnipodDriverState.Initalized_NoPod);
} }
finishAction("Omnipod Pump");
setRefreshButtonEnabled(true);
if (!sentIdToFirebase) { if (!sentIdToFirebase) {
Bundle params = new Bundle(); Bundle params = new Bundle();