Skip to content

Commit

Permalink
Merge pull request atom#21787 from UziTech/patch-10
Browse files Browse the repository at this point in the history
fix async confirm
  • Loading branch information
darangi authored Dec 8, 2020
2 parents 629a7a2 + dc8e4b6 commit 4c30215
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/application-delegate.js
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ module.exports = class ApplicationDelegate {
remote.dialog
.showMessageBox(remote.getCurrentWindow(), options)
.then(result => {
callback(result.response);
callback(result.response, result.checkboxChecked);
});
} else {
// Legacy sync version: options can only have `message`,
Expand Down

0 comments on commit 4c30215

Please sign in to comment.