[auth] Add monochrome icon style for macos tray (#6771)

## Description
This fixes this issue https://github.com/ente-io/ente/issues/5173
This commit is contained in:
Neeraj
2025-08-07 13:34:38 +05:30
committed by GitHub
2 changed files with 4 additions and 2 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

View File

@@ -40,8 +40,10 @@ Future<void> initSystemTray() async {
if (PlatformUtil.isMobile()) return;
String path = Platform.isWindows
? 'assets/icons/auth-icon.ico'
: 'assets/icons/auth-icon.png';
await trayManager.setIcon(path);
: Platform.isMacOS
? 'assets/icons/auth-icon-monochrome.png'
: 'assets/icons/auth-icon.png';
await trayManager.setIcon(path, isTemplate: true);
Menu menu = Menu(
items: [
MenuItem(