From a09d7c8957612c1ad14933ffc5a0025d26a414e0 Mon Sep 17 00:00:00 2001 From: Sindre Sorhus Date: Thu, 6 Apr 2023 15:23:02 +0900 Subject: [PATCH] Tweaks --- Sources/Defaults/Defaults+Bridge.swift | 3 +-- Sources/Defaults/Defaults+Extensions.swift | 2 -- 2 files changed, 1 insertion(+), 4 deletions(-) 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