Stop using enum type as notification object, since that won’t work.

This commit is contained in:
Brent Simmons committed 2026-10-26 14:31:16 -07:00
1 parent 53adcc286e
commit 47ef9bc51c
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -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)
}
}