mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2025-02-18 12:50:34 +01:00
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…
x
Reference in New Issue
Block a user