Use icon caching for system tray. (#2238)

This commit is contained in:
brycerocky 2024-03-10 15:35:48 -07:00 committed by GitHub
commit bc0a4786f4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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 },
};
/**

2
third-party/tray vendored

@ -1 +1 @@
Subproject commit 2bf1c610300b27f8d8ce87e2f13223fc83efeb42
Subproject commit a08c1025c3f158d6b6c4b9bcf0ab770291d26896