I changed the provided example to this one.
However, the menu does not get updated. When clicking on a StandardItem it panics with the following error:
thread '<unnamed>' panicked at 'index out of bounds: the len is 2 but the index is 3', /home/projects/ksni/src/service.rs:702:32
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
I changed the provided example to this one. However, the menu does not get updated. When clicking on a StandardItem it panics with the following error:
Is it possible to update the menu during runtime?