tauri/.changes/submenu-and-menu-builders-item-and-id.md
Amr Bashir 5c95152c76
refactor!: take id for text/check/icon on menu builders (#7621)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-08-16 11:55:36 -03:00

6 lines
236 B
Markdown

---
'tauri': 'patch:breaking'
---
Changed `MenuBuilder\SubmenuBuilder::text`, `MenuBuilder\SubmenuBuilder::check`, `MenuBuilder\SubmenuBuilder::icon` and `MenuBuilder\SubmenuBuilder::native_icon` to take an `id` as the first argument.