mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-12-03 10:47:21 +00:00
moves preferredColorScheme to App level.
This commit is contained in:
2 files changed
+1
-1
No files matched your search
@@ -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