mirror of
https://github.com/SimpleMobileTools/Simple-Notes.git
synced 2025-03-24 04:20:07 +01:00
dismiss checklist dialog on touch outside
This commit is contained in:
parent
059ba84775
commit
ba8e9e6a29
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user