My app is themeable, and uses window.overrideUserInterfaceStyle to set the userInterfaceStyle independently from the system setting.
This works great, except this does not change the userInterfaceStyle of the menus. So I'm occasionally experiencing light menus with a dark themed app, and vice versa.
Question: how to override the userInterfaceStyle of the menus managed by UIMainMenuSystem?