From 1fed867eb3846e40a3ababae63682d66962df87c Mon Sep 17 00:00:00 2001 From: Johannes Mockenhaupt Date: Thu, 29 Apr 2021 22:00:50 +0200 Subject: [PATCH] Revert "Combo: show pump id in UI." This reverts commit 76568cac --- .../plugins/pump/combo/ComboFragment.java | 3 -- .../main/res/layout/combopump_fragment.xml | 45 ------------------- combo/src/main/res/values/strings.xml | 1 - 3 files changed, 49 deletions(-) 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 ef21aea9f1..e6d8b990bf 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 @@ -54,7 +54,6 @@ public class ComboFragment extends DaggerFragment { private Button refreshButton; private TextView bolusCount; private TextView tbrCount; - private TextView serialNumber; @Override public View onCreateView(@NonNull LayoutInflater inflater, ViewGroup container, @@ -71,7 +70,6 @@ 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.combo_serial_number); refreshButton = view.findViewById(R.id.combo_refresh_button); refreshButton.setOnClickListener(v -> { @@ -244,7 +242,6 @@ public class ComboFragment extends DaggerFragment { // stats bolusCount.setText(String.valueOf(comboPlugin.getBolusesDelivered())); tbrCount.setText(String.valueOf(comboPlugin.getTbrsSet())); - serialNumber.setText(comboPlugin.serialNumber()); } } } \ No newline at end of file diff --git a/combo/src/main/res/layout/combopump_fragment.xml b/combo/src/main/res/layout/combopump_fragment.xml index 2ee9e41508..8e13a5fb8f 100644 --- a/combo/src/main/res/layout/combopump_fragment.xml +++ b/combo/src/main/res/layout/combopump_fragment.xml @@ -462,51 +462,6 @@ - - - - - - - - - - - - TBR count Bolus stopped Stopping bolus - Pump identifier combo_pump_serial combo_tbrs_set combo_boluses_delivered