mirror of
https://github.com/electron/electron.git
synced 2026-01-09 07:28:12 -05:00
fix: permission handler regression in default app (#17927)
This commit is contained in:
committed by
Shelley Vohr
parent
4556433f3b
commit
f7a38ec72a
@@ -81,7 +81,7 @@ async function createWindow () {
|
||||
cancelId: 1
|
||||
}
|
||||
|
||||
dialog.showMessageBox(mainWindow!, options).then(response => {
|
||||
dialog.showMessageBox(mainWindow!, options).then(({ response }) => {
|
||||
done(response === 0)
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user