macOS Mojave - Dark Mode - Callback?

Hi there,

We would like our SystemTrayIconComponent to draw a different image in dark mode vs light mode in macOS Mojave.

I have seen this discussion SystemTrayIconComponent and dark/light menu bar and Desktop::isOsXDarkModeActive() is working perfectly for us.

However, if the user changes from light to dark (or vice versa) while the plugin is open, there is no callback to let us change the image.

We could always use a timer to poll the display mode, but would it be possible to get a little callback in SystemTrayIconComponent?

Thanks very much!