Merge pull request #51 from AdrianLxM/patch-8
Add base basal rate to Overview when temp is running
This commit is contained in:
commit
48388496f5
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue