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 9d5cfdb3ab..e9b059c89b 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 @@ -248,6 +248,7 @@ class OmnipodFragment : DaggerFragment() { omnipod_pod_firmware_version.text = "-" omnipod_pod_expiry.text = "-" omnipod_basabasalrate.text = "-" + omnipod_total_delivered.text = "-" omnipod_reservoir.text = "-" omnipod_tempbasal.text = "-" omnipod_lastbolus.text = "-" @@ -279,6 +280,9 @@ class OmnipodFragment : DaggerFragment() { omnipod_tempbasal.text = activePlugin.activeTreatments .getTempBasalFromHistory(System.currentTimeMillis())?.toStringFull() ?: "-" + // total delivered + omnipod_total_delivered.text = resourceHelper.gs(R.string.omnipod_total_delivered,podStateManager.totalInsulinDelivered); + // reservoir if (podStateManager.reservoirLevel == null) { omnipod_reservoir.text = resourceHelper.gs(R.string.omnipod_reservoir_over50) diff --git a/omnipod/src/main/res/layout/omnipod_fragment.xml b/omnipod/src/main/res/layout/omnipod_fragment.xml index 72c3910ad9..bf4f6af6e5 100644 --- a/omnipod/src/main/res/layout/omnipod_fragment.xml +++ b/omnipod/src/main/res/layout/omnipod_fragment.xml @@ -517,6 +517,42 @@ android:layout_marginBottom="5dp" android:background="@color/listdelimiter" /> + + + + + + + + + + Moments ago Pod Mgmt Pod Status + Total Delivered + %1$.2f U %1$.2f U left Over 50 U Pod Address