mirror of
https://github.com/godotengine/godot.git
synced 2025-01-22 10:32:54 -05:00
Merge pull request #101689 from syntaxerror247/native-dialogs
Make dialogs non-cancelable on Android
This commit is contained in:
commit
24fb28af55
1 changed files with 2 additions and 0 deletions
|
@ -151,6 +151,7 @@ internal class DialogUtils {
|
|||
builder.setView(parentLayout)
|
||||
val dialog = builder.create()
|
||||
dismissDialog = {dialog.dismiss()}
|
||||
dialog.setCancelable(false)
|
||||
dialog.show()
|
||||
}
|
||||
}
|
||||
|
@ -178,6 +179,7 @@ internal class DialogUtils {
|
|||
dialog.dismiss()
|
||||
}
|
||||
val dialog = builder.create()
|
||||
dialog.setCancelable(false)
|
||||
dialog.show()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue