Hi all, excellent work you've done so far with Compose, I've been playing around with it for iOS/Android and realized that
isSystemInDarkTheme()
works for both platforms, I can see iOS is not dynamically (in runtime) changing the colors, is this expected? should we implement a workaround in native to redraw the layout? Thanks.
👍 1
d
Dima Avdeev
07/27/2023, 7:08 PM
Hello! Thanks!
Yes,
isSystemInDarkTheme()
currently not changes on rutime, while App is launched on iOS. We will fix it!
But, for now we have higher priority issues.
a
Alex Acosta
07/28/2023, 5:58 PM
I see, thanks for clarifying, I believe there can be some delegation to implement from the iOS project that can help me to force redraw.
c
Chris Sinco [G]
07/25/2024, 8:09 AM
> Yes,
isSystemInDarkTheme()
currently not changes on runtime
Is this still a limitation? How do you signal from iOS/SwiftUI to tell Compose to redraw to load dark/light theme colors?