1
0
Fork 0
mirror of https://github.com/anyproto/anytype-ts.git synced 2025-06-08 05:57:02 +09:00

fix nativeTheme

This commit is contained in:
Andrew Simachev 2021-11-11 16:03:52 +03:00
parent b8f7138621
commit 02fcfe2423

View file

@ -122,7 +122,9 @@ function trayIcon () {
};
nativeTheme.on('updated', () => {
tray.setImage(trayIcon());
if (tray) {
tray.setImage(trayIcon());
};
});
function initTray () {