status-desktop/ui/shared/img
Pascal Precht 040b2020dd fix: ensure application uses correct system tray icon when bootstrapping
This commit checks on bootstrap what the currently configured theme
of the user is and loads the system tray icon in its corresponding
variation.

Unfortunately, MacOS doesn't seem to automatically swap out the icons
based on the system's theme, so we have to do it manually with two
different SVG files.

Another gotcha here is that, it doesn't seem to be possible to change
the system tray icon at runtime. When trying to reassign the `icon.source`
based on a newly selected theme, the icon disappears altogether.
The application also doesn't get notified when a user switches the theme
inside the operating system, requiring her to switch to the same theme
manually unless restarted.

Last but not least, using SVG files instead of PNG doesn't seem to solve
the problem that the icon is rendered blurry. I've looked in the docs
but there doesn't seem to be an option to have any influence on that...
2021-02-10 13:40:41 -05:00
..
checkmark.svg feat: checkbox style 2020-12-01 13:30:58 -05:00
close.svg fix: Update StatusRoundButton colours 2020-10-02 12:31:55 -04:00
copy-to-clipboard-icon.svg feat(ProfilePopup): implement copy-to-clipboard button 2020-06-30 12:13:44 -04:00
status-logo-light-theme.svg fix: ensure application uses correct system tray icon when bootstrapping 2021-02-10 13:40:41 -05:00
status-logo-new.png feat: change icon to show indicator when new messages appear 2021-01-12 16:35:59 -05:00
status-logo.png uiux: update application and menu icons for macOS 2021-01-15 10:59:05 -05:00
status-logo.svg fix: ensure application uses correct system tray icon when bootstrapping 2021-02-10 13:40:41 -05:00