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:
parent
b8f7138621
commit
02fcfe2423
1 changed files with 3 additions and 1 deletions
|
@ -122,7 +122,9 @@ function trayIcon () {
|
|||
};
|
||||
|
||||
nativeTheme.on('updated', () => {
|
||||
tray.setImage(trayIcon());
|
||||
if (tray) {
|
||||
tray.setImage(trayIcon());
|
||||
};
|
||||
});
|
||||
|
||||
function initTray () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue