-
-
Notifications
You must be signed in to change notification settings - Fork 182
TrayIcon is correctly selected after startup #134
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add a check for
AppConfigs.Configuration.KeepSystrayIcon
in the initIcon method. If true, just return directly from the method.
@@ -102,6 +103,19 @@ public void Dispose() | |||
_updateMenuItem.Dispose(); | |||
} | |||
|
|||
private void InitIcon() | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add a check for
AppConfigs.Configuration.KeepSystrayIcon
in the initIcon method. If true, just return directly from the method.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added in commit 1808a5c
Great! |
@all-contributors please add @patgrosse for code |
This project's configuration file has malformed JSON: .all-contributorsrc. Error:: Unexpected token } in JSON at position 1858 |
@all-contributors please add @patgrosse for code |
I've put up a pull request to add @patgrosse! 🎉 |
@Belphemur I'm flattered, thank you :) |
The current audio device specific icon is used as tray icon after SoundSwitch is started and no switch has been performed