Change to set preferredColorScheme to nil which should make it automatic again (but doesn't)

This commit is contained in:
Maurice Parker 2020-07-03 10:43:05 -05:00
parent 01a26a23a3
commit 45e702501e

View File

@ -204,7 +204,7 @@ struct PreferredColorSchemeModifier: ViewModifier {
func body(content: Content) -> some View {
switch preferredColorScheme {
case .automatic:
content
content.preferredColorScheme(nil)
case .dark:
content.preferredColorScheme(.dark)
case .light: