Add base basal rate to Overview when temp is running
Now that there is more space with less buttons, it should fit ;)
This commit is contained in:
parent
d67ae5df78
commit
2e6a37dcbd
1 changed files with 1 additions and 1 deletions
|
@ -462,7 +462,7 @@ public class OverviewFragment extends Fragment {
|
||||||
TempBasal activeTemp = pump.getTempBasal();
|
TempBasal activeTemp = pump.getTempBasal();
|
||||||
cancelTempLayout.setVisibility(View.VISIBLE);
|
cancelTempLayout.setVisibility(View.VISIBLE);
|
||||||
cancelTempButton.setText(MainApp.instance().getString(R.string.cancel) + ": " + activeTemp.toString());
|
cancelTempButton.setText(MainApp.instance().getString(R.string.cancel) + ": " + activeTemp.toString());
|
||||||
runningTempView.setText(activeTemp.toString());
|
runningTempView.setText(activeTemp.toString() + "\n(" + DecimalFormatter.to2Decimal(pump.getBaseBasalRate()) + " U/h" + ")");
|
||||||
} else {
|
} else {
|
||||||
cancelTempLayout.setVisibility(View.GONE);
|
cancelTempLayout.setVisibility(View.GONE);
|
||||||
Double currentBasal = pump.getBaseBasalRate();
|
Double currentBasal = pump.getBaseBasalRate();
|
||||||
|
|
Loading…
Reference in a new issue