diff --git a/app/src/main/java/info/nightscout/androidaps/plugins/aps/loop/LoopPlugin.java b/app/src/main/java/info/nightscout/androidaps/plugins/aps/loop/LoopPlugin.java index 3296d3d9d5..91bbccc515 100644 --- a/app/src/main/java/info/nightscout/androidaps/plugins/aps/loop/LoopPlugin.java +++ b/app/src/main/java/info/nightscout/androidaps/plugins/aps/loop/LoopPlugin.java @@ -178,7 +178,7 @@ public class LoopPlugin extends PluginBase { @Subscribe public void onStatusEvent(final EventTempTargetChange ev) { - new Thread(() -> LoopPlugin.getPlugin().invoke("EventTempTargetChange", true)).start(); + new Thread(() -> invoke("EventTempTargetChange", true)).start(); FabricPrivacy.getInstance().logCustom(new CustomEvent("TT_Loop_Run")); }