mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-12-01 09:50:16 +00:00
Stop using enum type as notification object, since that won’t work.
This commit is contained in:
1 parent
53adcc286e
commit
47ef9bc51c
3 files changed
+3
-3
No files matched your search
@@ -78,7 +78,7 @@ extension AppDefaults {
|
||||
}
|
||||
set {
|
||||
UserDefaults.standard.set(newValue.rawValue, forKey: Key.userInterfaceColorPalette)
|
||||
NotificationCenter.default.post(name: .userInterfaceColorPaletteDidUpdate, object: self)
|
||||
NotificationCenter.default.post(name: .userInterfaceColorPaletteDidUpdate, object: nil)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user