Overview: don't block the UI waiting for IobCob thread.
This commit is contained in:
parent
9309729ca1
commit
c326e7a483
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue