mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2025-06-05 21:59:17 +02:00
make sure dialog is cancellable by clicking outside
This commit is contained in:
@ -23,6 +23,7 @@ class ChangeViewDialog(val activity: Activity, val callback: (newView: Int) -> U
|
||||
.setView(view)
|
||||
.create()
|
||||
|
||||
dialog?.setCanceledOnTouchOutside(true)
|
||||
dialog?.show()
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user