From 051e31fb4b9bd27084c6f56b084828c39af4cd5e Mon Sep 17 00:00:00 2001 From: Andy Rozman Date: Sun, 8 Mar 2020 17:10:29 +0000 Subject: [PATCH] - fixed refresh --- .../androidaps/plugins/pump/omnipod/OmnipodPumpPlugin.java | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/app/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/OmnipodPumpPlugin.java b/app/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/OmnipodPumpPlugin.java index 0159a27267..91ed803613 100644 --- a/app/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/OmnipodPumpPlugin.java +++ b/app/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/OmnipodPumpPlugin.java @@ -557,9 +557,6 @@ public class OmnipodPumpPlugin extends PumpPluginAbstract implements OmnipodPump pumpState = PumpDriverState.Initialized; } - triggerUIChange(); - RxBus.INSTANCE.send(new EventRefreshOverview("Omnipod Pump")); - getPodPumpStatus(); } else { @@ -568,9 +565,7 @@ public class OmnipodPumpPlugin extends PumpPluginAbstract implements OmnipodPump OmnipodUtil.setDriverState(OmnipodDriverState.Initalized_NoPod); } - - setRefreshButtonEnabled(true); - + finishAction("Omnipod Pump"); if (!sentIdToFirebase) { Bundle params = new Bundle();