mirror of
https://github.com/Helium314/HeliBoard.git
synced 2025-06-04 05:40:17 +00:00
fix unexpected dialog dismisses
This commit is contained in:
parent
b31d6d0051
commit
2700c3428a
9 changed files with 9 additions and 4 deletions
|
@ -82,6 +82,7 @@ fun LoadGestureLibPreference(setting: Setting) {
|
|||
ConfirmationDialog(
|
||||
onDismissRequest = { showDialog = false },
|
||||
onConfirmed = {
|
||||
showDialog = false
|
||||
val intent = Intent(Intent.ACTION_OPEN_DOCUMENT)
|
||||
.addCategory(Intent.CATEGORY_OPENABLE)
|
||||
.setType("application/octet-stream")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue