mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-12-27 02:23:28 +08:00
Fix preferences window crashes due to remote problem
This commit is contained in:
parent
e6d3290c4e
commit
19666065fc
1 changed files with 2 additions and 2 deletions
|
@ -97,8 +97,8 @@ class MenubarStylePicker extends React.Component<{ config: ConfigLike }> {
|
|||
className="btn btn-small"
|
||||
style={{ float: 'right' }}
|
||||
onClick={() => {
|
||||
const { BrowserWindow } = require('@electron/remote').app.relaunch();
|
||||
const { BrowserWindow } = require('@electron/remote').app.quit();
|
||||
require('@electron/remote').app.relaunch();
|
||||
require('@electron/remote').app.quit();
|
||||
}}
|
||||
>
|
||||
{localized('Relaunch')}
|
||||
|
|
Loading…
Reference in a new issue