Make bolus progress dialog not cancalable

This commit is contained in:
AdrianLxM 2016-11-21 19:50:27 +01:00 committed by GitHub
parent 87d81d9789
commit ef847a7cc2

View file

@ -54,11 +54,10 @@ public class BolusProgressDialog extends DialogFragment implements View.OnClickL
statusView = (TextView) view.findViewById(R.id.overview_bolusprogress_status);
stopPressedView = (TextView) view.findViewById(R.id.overview_bolusprogress_stoppressed);
progressBar = (ProgressBar) view.findViewById(R.id.overview_bolusprogress_progressbar);
stopButton.setOnClickListener(this);
progressBar.setMax(100);
statusView.setText(MainApp.sResources.getString(R.string.waitingforpump));
setCancelable(false);
return view;
}