Merge pull request #101689 from syntaxerror247/native-dialogs

Make dialogs non-cancelable on Android
This commit is contained in:
Thaddeus Crews 2025-01-20 10:05:43 -06:00
commit 24fb28af55
No known key found for this signature in database
GPG key ID: 62181B86FE9E5D84

View file

@ -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()
}
}