Change to set preferredColorScheme to nil which should make it automatic again (but doesn't)
This commit is contained in:
parent
01a26a23a3
commit
45e702501e
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user