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:
AdrianLxM 2016-11-07 10:18:16 +01:00 committed by GitHub
parent d67ae5df78
commit 2e6a37dcbd

View file

@ -462,7 +462,7 @@ public class OverviewFragment extends Fragment {
TempBasal activeTemp = pump.getTempBasal();
cancelTempLayout.setVisibility(View.VISIBLE);
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 {
cancelTempLayout.setVisibility(View.GONE);
Double currentBasal = pump.getBaseBasalRate();