-
-
Notifications
You must be signed in to change notification settings - Fork 413
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
macOS: Use electron API to get dark tray icon for the light theme. #941
Conversation
@akashnimare if you could test it on your mac |
Check if electron handles this by default otherwise we need to add IPC when user updates the theme. |
0cdd015
to
ffb3cfc
Compare
@akashnimare please have a look. |
@manavmehta please fix merge conflicts. |
@akashnimare fixed them. |
Did you update the tray image? I think it was updated in #894. |
@akashnimare Afaik, #894 only updates the dock icon, not the tray icon Quoting from electron docs :
So, we don't need two images and any ipc calls to change the image, electron does this by itself |
@manavmehta fix the merge conflicts and we can merge this. As a follow-up, we should update our tray image because the white padding is clearly visible on macOS. |
@akashnimare resolved.
|
Hmm, just going through this issue and I'm not sure I follow this. @akashnimare could you clarify what you mean by white padding? |
…acOS The white tray icon for dark theme looks coherent with other icons A corresponding dark icon for the light theme would make it more flushed into the UI
LGTM on macOS. |
Merged. Thanks, everyone! |
Context: #861
What's this PR do?
We made a change to make the tray icon look flushed and coherent for the dark theme
A corresponding dark icon would do the necessary for the light theme
Electron makes it possible by using Template Image
Screenshots?
Presently we have this
This commit makes this change
You have tested this PR on: