make sure dialog is cancellable by clicking outside
This commit is contained in:
parent
97ee44979e
commit
4341289595
|
@ -23,6 +23,7 @@ class ChangeViewDialog(val activity: Activity, val callback: (newView: Int) -> U
|
||||||
.setView(view)
|
.setView(view)
|
||||||
.create()
|
.create()
|
||||||
|
|
||||||
|
dialog?.setCanceledOnTouchOutside(true)
|
||||||
dialog?.show()
|
dialog?.show()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue