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:
AdrianLxM 2017-07-23 15:18:26 +00:00
commit c80553d3bb

View file

@ -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 : "");
}