mirror of
https://github.com/LorenEteval/Furious.git
synced 2026-10-02 03:48:03 +03:00
Fix monochrome tray icon on macOS
Signed-off-by: Loren Eteval <loren.eteval@proton.me>
This commit is contained in:
@@ -111,6 +111,12 @@ class SystemTrayIcon(
|
||||
super().showMessage(_(APPLICATION_NAME), message, *args, **kwargs)
|
||||
|
||||
def setMonochromeIconByTheme(self, theme):
|
||||
if PLATFORM == 'Darwin':
|
||||
# macOS. Always use white icon
|
||||
self.setIcon(bootstrapIconWhite('monochrome-rocket-takeoff.svg'))
|
||||
|
||||
return
|
||||
|
||||
if theme == 'Dark':
|
||||
self.setIcon(bootstrapIconWhite('monochrome-rocket-takeoff.svg'))
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user