Clearing tray title #15445
Unanswered
Tommatheussen
asked this question in
Q&A
Clearing tray title
#15445
Replies: 1 comment 1 reply
-
|
I assume we're talking about macOS? Looking at the tray-icon crate, on Linux we're setting None to "" internally but on macOS we only change the title if I don't have time rn, would you mind opening an issue here? https://github.com/tauri-apps/tray-icon Thanks :) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm working on a music application (Music Assistant), I want to allow users to show the currently playing content in the tray, next to the icon. Showing the text and updating it works perfectly fine using the following pseudocode:
Even though set_title accepts None as a value, I expected this to clear the current title, however, it just doesn't seem to do anything.
I'm now getting around this by using this following code, basically jsut passing an empty string if the value is None.
Is clearing the tray title something that should be supported by passing None?
Beta Was this translation helpful? Give feedback.
All reactions