tao
tao copied to clipboard
[feat] set_visible for tauri::SystemTrayHandle
This issue has been upstreamed from https://github.com/tauri-apps/tauri/issues/3615
Describe the problem
the need is to show/hide system tray on the fly by user's configuration for example, i just checked the doc that this feature is not implemented yet.
https://docs.rs/tauri/1.0.0-rc.3/tauri/struct.SystemTrayHandle.html
Describe the solution you'd like
implement set_visible
function to tauri::SystemTrayHandle
, signature would be like:
pub fn set_visible(&self, visible: bool) -> Result<()>
Alternatives considered
No response
Additional context
No response