Closed slonopotamus closed 1 year ago
The idea here is that they are not mutable, you should have State -> Menu builder, and re-run it.
See this how to change the checked/disabled state based on application state:
Similarily you could change the menu item name based on the application state.
I want to do some kind of runtime changes to the menu, however failing to find any relevant API. Thanks in advance