mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2024-12-27 01:52:30 +01:00
On macOS, just change the colorScheme
This commit is contained in:
parent
b739f6dd61
commit
19d4afc467
@ -134,9 +134,13 @@ final class AppDefaults: ObservableObject {
|
||||
}
|
||||
set {
|
||||
AppDefaults.store.set(newValue.rawValue, forKey: Key.userInterfaceColorPalette)
|
||||
#if os(macOS)
|
||||
self.objectWillChange.send()
|
||||
#else
|
||||
DispatchQueue.main.asyncAfter(deadline: .now() + 0.5, execute: {
|
||||
self.objectWillChange.send()
|
||||
})
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user