Use icon caching for system tray. (#2238)

This commit is contained in:
brycerocky
2024-03-10 15:35:48 -07:00
committed by GitHub
parent cb4bfaa2f4
commit bc0a4786f4
2 changed files with 3 additions and 1 deletions

View File

@@ -145,6 +145,8 @@ namespace system_tray {
{ .text = "Restart", .cb = tray_restart_cb },
{ .text = "Quit", .cb = tray_quit_cb },
{ .text = nullptr } },
.iconPathCount = 4,
.allIconPaths = { TRAY_ICON, TRAY_ICON_LOCKED, TRAY_ICON_PLAYING, TRAY_ICON_PAUSING },
};
/**