What do you guys think is the best way to get the UI notified of a theme change? I'm doing multiplatform, so the amount I have from android (like livedata) is limited.
I've got a settings UI that changes a value (that also saves it to preferences) for things like color. I'm currently using a MutableStateFlow that the root App function is observing, which then sets its own internal MutableState for the color value so it triggers a recomposition to change the theme, but this just seems heavy. Is there a better way to do it, or am I pretty much doing the standard?