Post

Replies

Boosts

Views

Created

passing nil to `perferredColorScheme` instead of light/dark
The view modifier .preferredColorScheme takes the optional ColorScheme?. I expected if you pass nil it would just use the system light/dark settings, but it's not working that way for me and I can't find any information in the docs or headers. Does anyone know?
Replies
4
Boosts
1
Views
1.9k
Activity
Mar ’21