fix: permission handler regression in default app (#17927)
This commit is contained in:
parent
4556433f3b
commit
f7a38ec72a
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ async function createWindow () {
|
||||||
cancelId: 1
|
cancelId: 1
|
||||||
}
|
}
|
||||||
|
|
||||||
dialog.showMessageBox(mainWindow!, options).then(response => {
|
dialog.showMessageBox(mainWindow!, options).then(({ response }) => {
|
||||||
done(response === 0)
|
done(response === 0)
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue