Make dialog uncancelable
This commit is contained in:
parent
76d850cb7d
commit
f21ff7dba8
1 changed files with 1 additions and 0 deletions
|
|
@ -84,6 +84,7 @@ class ToDoFragment : Fragment() {
|
|||
.setView(toDoDialogBinding.root)
|
||||
.setPositiveButton(R.string.ok, null)
|
||||
.setNegativeButton(R.string.cancel, null)
|
||||
.setCancelable(false)
|
||||
.show()
|
||||
|
||||
dialog.getButton(AlertDialog.BUTTON_POSITIVE).setOnClickListener {
|
||||
|
|
|
|||
Loading…
Reference in a new issue