[MM-40233] Swap names for dark/light tray icons on Linux and Windows (#2180)
* Swap names for dark/light tray icons for linux and windows. * Swap icon tray themes when system default is used Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
This commit is contained in:
@@ -19,7 +19,7 @@ let lastMessage = app.name;
|
||||
|
||||
/* istanbul ignore next */
|
||||
export function refreshTrayImages(trayIconTheme: string) {
|
||||
const systemTheme = nativeTheme.shouldUseDarkColors ? 'dark' : 'light';
|
||||
const systemTheme = nativeTheme.shouldUseDarkColors ? 'light' : 'dark';
|
||||
const winTheme = trayIconTheme === 'use_system' ? systemTheme : trayIconTheme;
|
||||
|
||||
switch (process.platform) {
|
||||
|
Reference in New Issue
Block a user