Merge pull request #74 from AdrianLxM/patch-2

Make bolus progress dialog not cancalable
This commit is contained in:
Milos Kozak 2016-11-21 19:59:52 +01:00 committed by GitHub
commit 9f774395c0

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