This commit is contained in:
Sindre Sorhus 2023-04-06 15:23:02 +09:00
parent d71bfd8ffb
commit a09d7c8957
2 changed files with 1 additions and 4 deletions

View File

@ -1,4 +1,3 @@
import Foundation
import SwiftUI import SwiftUI
#if os(macOS) #if os(macOS)
import AppKit import AppKit
@ -399,7 +398,7 @@ extension Defaults {
return NativeColor.bridge.serialize(NativeColor(value)) return NativeColor.bridge.serialize(NativeColor(value))
} }
return [colorSpace, components] return [colorSpace, components] as [Any]
} }
public func deserialize(_ object: Serializable?) -> Value? { public func deserialize(_ object: Serializable?) -> Value? {

View File

@ -1,5 +1,3 @@
import Foundation
import CoreGraphics
import SwiftUI import SwiftUI
#if os(macOS) #if os(macOS)
import AppKit import AppKit