diff --git a/combo/src/main/java/info/nightscout/androidaps/plugins/pump/combo/ComboFragment.java b/combo/src/main/java/info/nightscout/androidaps/plugins/pump/combo/ComboFragment.java index b0fc0d809c..85407b6b07 100644 --- a/combo/src/main/java/info/nightscout/androidaps/plugins/pump/combo/ComboFragment.java +++ b/combo/src/main/java/info/nightscout/androidaps/plugins/pump/combo/ComboFragment.java @@ -61,6 +61,7 @@ public class ComboFragment extends DaggerFragment { private TextView errorCountLabel; private TextView errorCountDots; private TextView errorCountValue; + private TextView serialNumber; @Override public View onCreateView(@NonNull LayoutInflater inflater, ViewGroup container, @@ -77,6 +78,7 @@ public class ComboFragment extends DaggerFragment { tempBasalText = view.findViewById(R.id.combo_temp_basal); bolusCount = view.findViewById(R.id.combo_bolus_count); tbrCount = view.findViewById(R.id.combo_tbr_count); + serialNumber = view.findViewById(R.id.serial_number); errorCountDelimiter = view.findViewById(R.id.combo_connection_error_delimiter); errorCountLayout = view.findViewById(R.id.combo_connection_error_layout); @@ -255,6 +257,7 @@ public class ComboFragment extends DaggerFragment { // stats bolusCount.setText(String.valueOf(comboPlugin.getBolusesDelivered())); tbrCount.setText(String.valueOf(comboPlugin.getTbrsSet())); + serialNumber.setText(comboPlugin.serialNumber()); updateErrorDisplay(false); } else { diff --git a/combo/src/main/res/layout/combopump_fragment.xml b/combo/src/main/res/layout/combopump_fragment.xml index 8225bb48e7..e5395759d8 100644 --- a/combo/src/main/res/layout/combopump_fragment.xml +++ b/combo/src/main/res/layout/combopump_fragment.xml @@ -510,6 +510,51 @@ + + + + + + + + + + + +