Merge pull request #501 from jotomo/hide-stop-button-once-pressed

BolusProgressDialog: hide stop button once pressed.
This commit is contained in:
Milos Kozak 2017-11-22 10:51:39 +01:00 committed by GitHub
commit 63dbe2bd52
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;