From c326e7a483e511756de579b10b02964c691141e9 Mon Sep 17 00:00:00 2001 From: Johannes Mockenhaupt Date: Sun, 14 Oct 2018 14:49:04 +0200 Subject: [PATCH] Overview: don't block the UI waiting for IobCob thread. --- .../androidaps/plugins/Overview/OverviewFragment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/info/nightscout/androidaps/plugins/Overview/OverviewFragment.java b/app/src/main/java/info/nightscout/androidaps/plugins/Overview/OverviewFragment.java index a414d38310..a5c7b794ee 100644 --- a/app/src/main/java/info/nightscout/androidaps/plugins/Overview/OverviewFragment.java +++ b/app/src/main/java/info/nightscout/androidaps/plugins/Overview/OverviewFragment.java @@ -1364,7 +1364,7 @@ public class OverviewFragment extends Fragment implements View.OnClickListener, // Sensitivity if (sensitivityView != null) { - AutosensData autosensData = IobCobCalculatorPlugin.getPlugin().getLastAutosensDataSynchronized("Overview"); + AutosensData autosensData = IobCobCalculatorPlugin.getPlugin().getLastAutosensData("Overview"); if (autosensData != null) sensitivityView.setText(String.format("%.0f%%", autosensData.autosensResult.ratio * 100)); else