mirror of
https://github.com/pachli/pachli-android.git
synced 2025-01-18 19:31:12 +01:00
This prevents accidental closing of dialog by clicking outside of the dialog.
This commit is contained in:
parent
06343a7170
commit
c638ad7e6b
@ -89,6 +89,7 @@ fun <T> T.makeCaptionDialog(
|
||||
.setView(dialogLayout)
|
||||
.setPositiveButton(android.R.string.ok, okListener)
|
||||
.setNegativeButton(android.R.string.cancel, null)
|
||||
.setCancelable(false)
|
||||
.create()
|
||||
|
||||
val window = dialog.window
|
||||
|
Loading…
Reference in New Issue
Block a user