dismiss checklist dialog on touch outside

This commit is contained in:
darthpaul 2021-10-06 23:44:22 +01:00
parent 059ba84775
commit ba8e9e6a29
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ class NewChecklistItemDialog(val activity: Activity, callback: (titles: ArrayLis
.setPositiveButton(R.string.ok, null)
.setNegativeButton(R.string.cancel, null)
.create().apply {
activity.setupDialogStuff(view, this, R.string.add_new_checklist_items, cancelOnTouchOutside = false) {
activity.setupDialogStuff(view, this, R.string.add_new_checklist_items) {
showKeyboard(titles.first())
getButton(BUTTON_POSITIVE).setOnClickListener {
when {