[MM-52625] Rework tray icon code into a class, make the behaviour of the tray icon consistent with the OS it's running on (#2708)
* Rework tray into a class, make click behaviour consistent * Fix issue where app wouldn't switch to workspace where the app was visible * Fixed an issue where the app would show the window with hideOnStart enabled * Add comment about StatusIconLinuxDbus * Fix tests
This commit is contained in:
@@ -157,8 +157,8 @@ jest.mock('common/servers/serverManager', () => ({
|
||||
on: jest.fn(),
|
||||
}));
|
||||
jest.mock('main/tray/tray', () => ({
|
||||
refreshTrayImages: jest.fn(),
|
||||
setupTray: jest.fn(),
|
||||
refreshImages: jest.fn(),
|
||||
setup: jest.fn(),
|
||||
}));
|
||||
jest.mock('main/trustedOrigins', () => ({
|
||||
load: jest.fn(),
|
||||
|
Reference in New Issue
Block a user