Some ui polish.
This commit is contained in:
parent
723388acdf
commit
64c3d452a8
1 changed files with 2 additions and 2 deletions
|
@ -131,7 +131,7 @@ public class ComboFragment extends Fragment implements View.OnClickListener {
|
||||||
pumpstateBatteryText.setTextColor(Color.RED);
|
pumpstateBatteryText.setTextColor(Color.RED);
|
||||||
} else if(ps.batteryState == PumpState.LOW){
|
} else if(ps.batteryState == PumpState.LOW){
|
||||||
pumpstateBatteryText.setText("{fa-battery-quarter}");
|
pumpstateBatteryText.setText("{fa-battery-quarter}");
|
||||||
pumpstateBatteryText.setTextColor(Color.WHITE);
|
pumpstateBatteryText.setTextColor(Color.YELLOW);
|
||||||
} else {
|
} else {
|
||||||
pumpstateBatteryText.setText("{fa-battery-full}");
|
pumpstateBatteryText.setText("{fa-battery-full}");
|
||||||
pumpstateBatteryText.setTextColor(Color.WHITE);
|
pumpstateBatteryText.setTextColor(Color.WHITE);
|
||||||
|
@ -148,7 +148,7 @@ public class ComboFragment extends Fragment implements View.OnClickListener {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
int reservoirLevel = plugin.getPump().history.reservoirLevel;
|
int reservoirLevel = plugin.getPump().history.reservoirLevel;
|
||||||
insulinstateText.setText(reservoirLevel == - 1 ? "" : "" + reservoirLevel);
|
insulinstateText.setText(reservoirLevel == - 1 ? "" : "" + reservoirLevel + " U");
|
||||||
}
|
}
|
||||||
|
|
||||||
CommandResult lastCmdResult1 = plugin.getPump().lastCmdResult;
|
CommandResult lastCmdResult1 = plugin.getPump().lastCmdResult;
|
||||||
|
|
Loading…
Reference in a new issue