Refresh overview when pump is unpaired

This commit is contained in:
TebbeUbben 2019-02-09 22:43:05 +01:00
parent 7a7bebc5fe
commit 2ad4670f07

View file

@ -1527,6 +1527,7 @@ public class LocalInsightPlugin extends PluginBase implements PumpInterface, Con
activeTBR = null;
activeBoluses = null;
tbrOverNotificationBlock = null;
new Handler(Looper.getMainLooper()).post(() -> MainApp.bus().post(new EventRefreshOverview("LocalInsightPlugin::onStateChanged")));
}
new Handler(Looper.getMainLooper()).post(() -> MainApp.bus().post(new EventLocalInsightUpdateGUI()));
}