Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UIKit view cannot handle the run time dark/light mode changes for colors #368

Closed
danie1ll opened this issue Jul 15, 2022 · 2 comments · Fixed by #439
Closed

UIKit view cannot handle the run time dark/light mode changes for colors #368

danie1ll opened this issue Jul 15, 2022 · 2 comments · Fixed by #439
Assignees
Labels
bug Something isn't working
Milestone

Comments

@danie1ll
Copy link

I saw that in order to solve this issue for SwiftUI, one has to put @Environment(.colorScheme) var colorScheme in the View. Is there some fix for UIKit? Currently the dark/light mode changes for colors are only possible after restarting the app. However, if the colors are defined in a standard way (in Xcode), the run time change works perfectly fine

@Alex009 Alex009 added the bug Something isn't working label Jul 15, 2022
@benMohamed
Copy link

any solution for this one ?!

@Alex009 Alex009 added this to the 0.21.0 milestone Mar 12, 2023
@Alex009 Alex009 self-assigned this Mar 12, 2023
@Alex009
Copy link
Member

Alex009 commented Mar 24, 2023

will be released in 0.21.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: No status
3 participants