make sure dialog is cancellable by clicking outside

This commit is contained in:
tibbi 2016-12-04 10:27:35 +01:00
parent 97ee44979e
commit 4341289595
1 changed files with 1 additions and 0 deletions

View File

@ -23,6 +23,7 @@ class ChangeViewDialog(val activity: Activity, val callback: (newView: Int) -> U
.setView(view)
.create()
dialog?.setCanceledOnTouchOutside(true)
dialog?.show()
}