i18n reservoir unit.
This commit is contained in:
parent
d72c243140
commit
968431d931
1 changed files with 2 additions and 1 deletions
|
@ -173,7 +173,8 @@ public class ComboFragment extends SubscriberFragment implements View.OnClickLis
|
||||||
|
|
||||||
// reservoir
|
// reservoir
|
||||||
int reservoirLevel = plugin.getPump().reservoirLevel;
|
int reservoirLevel = plugin.getPump().reservoirLevel;
|
||||||
reservoirView.setText(reservoirLevel == -1 ? "" : "" + reservoirLevel + " U");
|
reservoirView.setText(reservoirLevel == -1 ? "" : "" + reservoirLevel + " "
|
||||||
|
+ MainApp.sResources.getString(R.string.treatments_wizard_unit_label));
|
||||||
if (ps.insulinState == PumpState.LOW) {
|
if (ps.insulinState == PumpState.LOW) {
|
||||||
reservoirView.setTextColor(Color.YELLOW);
|
reservoirView.setTextColor(Color.YELLOW);
|
||||||
reservoirView.setTypeface(null, Typeface.BOLD);
|
reservoirView.setTypeface(null, Typeface.BOLD);
|
||||||
|
|
Loading…
Reference in a new issue