BolusProgressDialog: hide stop button once pressed.

This commit is contained in:
Johannes Mockenhaupt 2017-11-16 00:23:37 +01:00
parent 1335887957
commit b49a4c57ba
No known key found for this signature in database
GPG key ID: 9E1EA6AF7BBBB0D1

View file

@ -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;