tauri/.changes/core-app-tray-remove-tray-apis-removed.md
Amr Bashir acdd76833d
feat(api/tray): add TrayIcon.getById/removeById (#9155)
* feat(api/tray): add `TrayIcon.getById/removeById`

closes #9135

* generate

* add permissions

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-03-12 13:07:51 -03:00

336 B

tauri
patch:breaking

Removed App/AppHandle::tray and App/AppHandle::remove_tray, use App/AppHandle::tray_by_id and App/AppHandle::remove_tray_by_id instead. If these APIs were used to access tray icon configured in tauri.conf.json, you can use App/AppHandle::tray_by_id with ID main or the configured value.