mirror of
https://github.com/anyproto/anytype-ts.git
synced 2025-06-08 05:57:02 +09:00
fix window reloading
This commit is contained in:
parent
ba1ddcee0c
commit
d8181e9229
5 changed files with 13 additions and 8 deletions
|
@ -47,8 +47,7 @@ powerMonitor.on('suspend', () => {
|
|||
});
|
||||
|
||||
powerMonitor.on('resume', () => {
|
||||
BrowserWindow.getAllWindows().forEach(win => win.webContents.reload());
|
||||
|
||||
WindowManager.reloadAll();
|
||||
Util.log('info', '[PowerMonitor] resume');
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue