From bdccbf907ef55683376e7de94cc195c6d6c8ff0f Mon Sep 17 00:00:00 2001 From: Bart Sopers Date: Fri, 21 Aug 2020 21:22:55 +0200 Subject: [PATCH] Show '-' instead of nothing in Omnipod tab when no TBR is active --- .../androidaps/plugins/pump/omnipod/OmnipodFragment.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/omnipod/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/OmnipodFragment.kt b/omnipod/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/OmnipodFragment.kt index 3ce8e47cbe..30e3d1360f 100644 --- a/omnipod/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/OmnipodFragment.kt +++ b/omnipod/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/OmnipodFragment.kt @@ -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) {