From b49a4c57ba17f006e87a8edab8236ba17fff0ceb Mon Sep 17 00:00:00 2001 From: Johannes Mockenhaupt Date: Thu, 16 Nov 2017 00:23:37 +0100 Subject: [PATCH] BolusProgressDialog: hide stop button once pressed. --- .../androidaps/plugins/Overview/Dialogs/BolusProgressDialog.java | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/info/nightscout/androidaps/plugins/Overview/Dialogs/BolusProgressDialog.java b/app/src/main/java/info/nightscout/androidaps/plugins/Overview/Dialogs/BolusProgressDialog.java index 192bffba3c..1471c23969 100644 --- a/app/src/main/java/info/nightscout/androidaps/plugins/Overview/Dialogs/BolusProgressDialog.java +++ b/app/src/main/java/info/nightscout/androidaps/plugins/Overview/Dialogs/BolusProgressDialog.java @@ -96,6 +96,7 @@ public class BolusProgressDialog extends DialogFragment implements View.OnClickL case R.id.overview_bolusprogress_stop: log.debug("Stop bolus delivery button pressed"); stopPressedView.setVisibility(View.VISIBLE); + stopButton.setVisibility(View.INVISIBLE); PumpInterface pump = MainApp.getConfigBuilder(); pump.stopBolusDelivering(); break;