Skip to content
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

[feat] access existing tray icon from JavaScript side #9135

Closed
Legend-Master opened this issue Mar 10, 2024 · 0 comments · Fixed by #9155
Closed

[feat] access existing tray icon from JavaScript side #9135

Legend-Master opened this issue Mar 10, 2024 · 0 comments · Fixed by #9155

Comments

@Legend-Master
Copy link
Contributor

Describe the problem

Currently you can only create new tray icons from JavaScript side, but can't access the ones created from rust side or from the config file

Describe the solution you'd like

Expose functions similar to tray and tray_by_id method in the Rust side

Alternatives considered

No response

Additional context

No response

amrbashir added a commit that referenced this issue Mar 11, 2024
lucasfernog added a commit that referenced this issue Mar 12, 2024
* feat(api/tray): add `TrayIcon.getById/removeById`

closes #9135

* generate

* add permissions

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.app>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant