1
0
Fork 0
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:
Andrew Simachev 2024-04-22 20:41:55 +02:00
parent ba1ddcee0c
commit d8181e9229
No known key found for this signature in database
GPG key ID: 49A163D0D14E6FD8
5 changed files with 13 additions and 8 deletions

View file

@ -47,8 +47,7 @@ powerMonitor.on('suspend', () => {
});
powerMonitor.on('resume', () => {
BrowserWindow.getAllWindows().forEach(win => win.webContents.reload());
WindowManager.reloadAll();
Util.log('info', '[PowerMonitor] resume');
});