mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2025-02-09 16:48:45 +01:00
moves preferredColorScheme to App level.
This commit is contained in:
parent
d8c5d3719c
commit
0904ff519f
@ -79,6 +79,7 @@ struct MainApp: App {
|
||||
.frame(width: 500)
|
||||
.navigationTitle("Preferences")
|
||||
.environmentObject(defaults)
|
||||
.preferredColorScheme(AppDefaults.userInterfaceColorScheme)
|
||||
}
|
||||
|
||||
#endif
|
||||
|
@ -82,7 +82,6 @@ struct MacPreferencesView: View {
|
||||
}
|
||||
}
|
||||
}
|
||||
.preferredColorScheme(AppDefaults.userInterfaceColorScheme)
|
||||
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user