Merge branch 'no-profile-tbr-rate-npe' into 'combo'
Bugfix: NPE when refreshing pump status without a profile set. See merge request !2
This commit is contained in:
commit
c80553d3bb
|
@ -118,7 +118,7 @@ public class ComboFragment extends Fragment implements View.OnClickListener {
|
|||
} else {
|
||||
tbrPercentageText.setText("Default basal rate running");
|
||||
tbrDurationText.setText("");
|
||||
tbrRateText.setText("" + getPlugin().getBaseBasalRate() + " U/h");
|
||||
tbrRateText.setText("");
|
||||
}
|
||||
pumpErrorText.setText(ps.errorMsg != null ? ps.errorMsg : "");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue