Merge pull request #2377 from quizzmaster/fix_bolusdialog
BolusProgressDialog not cancelable
This commit is contained in:
commit
177c1e429f
|
@ -56,7 +56,7 @@ class BolusProgressDialog : DialogFragment() {
|
|||
savedInstanceState: Bundle?): View? {
|
||||
dialog?.window?.requestFeature(Window.FEATURE_NO_TITLE)
|
||||
dialog?.window?.setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_HIDDEN)
|
||||
isCancelable = true
|
||||
isCancelable = false
|
||||
dialog?.setCanceledOnTouchOutside(false)
|
||||
return inflater.inflate(R.layout.dialog_bolusprogress, container, false)
|
||||
}
|
||||
|
@ -156,4 +156,4 @@ class BolusProgressDialog : DialogFragment() {
|
|||
}
|
||||
}).start()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue