mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
moves preferredColorScheme to App level.
This commit is contained in:
@@ -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)
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user