Orchestra
Orchestra copied to clipboard
spinnerBackgroundColor not switching when toggling dark / light theme
Please complete the following information:
- Library Version v1.1.0
- Affected Device(s) Pixel 5
Describe the Bug:
The value passed to spinnerBackgroundColor
is remembered, so the color does not change even when the theme is toggled from/to dark/light.
https://github.com/skydoves/Orchestra/blob/85e82b5e690ad702bec6275cfff42016509dc59e/spinner/src/main/java/com/skydoves/orchestra/spinner/SpinnerCompose.kt#L144-L157
Expected Behavior:
Since the color value passed to color
switches when toggling the app theme, I suppose the background color of spinner should also switch based on which theme is currently applied.