Show '-' instead of nothing in Omnipod tab when no TBR is active
This commit is contained in:
parent
127a369cbb
commit
bdccbf907e
|
@ -298,7 +298,7 @@ class OmnipodFragment : DaggerFragment() {
|
|||
omnipod_basabasalrate.text = resourceHelper.gs(R.string.pump_basebasalrate, omnipodPumpPlugin.pumpType.determineCorrectBasalSize(omnipodPumpPlugin.baseBasalRate))
|
||||
|
||||
omnipod_tempbasal.text = activePlugin.activeTreatments
|
||||
.getTempBasalFromHistory(System.currentTimeMillis())?.toStringFull() ?: ""
|
||||
.getTempBasalFromHistory(System.currentTimeMillis())?.toStringFull() ?: "-"
|
||||
|
||||
// reservoir
|
||||
if (podStateManager.reservoirLevel == null) {
|
||||
|
|
Loading…
Reference in a new issue