Skip to content

Commit 2f47486

Browse files
trop[bot]codebytere
authored andcommitted
fix: permission handler regression in default app (electron#17950)
1 parent 0b5acd9 commit 2f47486

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

default_app/default_app.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ async function createWindow () {
8181
cancelId: 1
8282
}
8383

84-
dialog.showMessageBox(mainWindow!, options).then(response => {
84+
dialog.showMessageBox(mainWindow!, options).then(({ response }) => {
8585
done(response === 0)
8686
})
8787
})

0 commit comments

Comments
 (0)