diff --git a/Sources/Defaults/Defaults+Bridge.swift b/Sources/Defaults/Defaults+Bridge.swift index e2b7b4d..ab2afe8 100644 --- a/Sources/Defaults/Defaults+Bridge.swift +++ b/Sources/Defaults/Defaults+Bridge.swift @@ -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? { diff --git a/Sources/Defaults/Defaults+Extensions.swift b/Sources/Defaults/Defaults+Extensions.swift index 8b636b3..6a9417c 100644 --- a/Sources/Defaults/Defaults+Extensions.swift +++ b/Sources/Defaults/Defaults+Extensions.swift @@ -1,5 +1,3 @@ -import Foundation -import CoreGraphics import SwiftUI #if os(macOS) import AppKit