mirror of
https://github.com/Eugeny/tabby.git
synced 2025-10-04 05:54:57 +00:00
electron 6 wip
This commit is contained in:
@@ -56,10 +56,6 @@ export class ElectronService {
|
||||
browserWindow: Electron.BrowserWindow,
|
||||
options: Electron.MessageBoxOptions
|
||||
): Promise<MessageBoxResponse> {
|
||||
return new Promise(resolve => {
|
||||
this.dialog.showMessageBox(browserWindow, options, (response, checkboxChecked) => {
|
||||
resolve({ response, checkboxChecked })
|
||||
})
|
||||
})
|
||||
return this.dialog.showMessageBox(browserWindow, options)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user