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

View File

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