Skip to content

Commit

Permalink
Tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Apr 6, 2023
1 parent d71bfd8 commit a09d7c8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 1 addition & 2 deletions Sources/Defaults/Defaults+Bridge.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import Foundation
import SwiftUI
#if os(macOS)
import AppKit
Expand Down Expand Up @@ -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? {
Expand Down
2 changes: 0 additions & 2 deletions Sources/Defaults/Defaults+Extensions.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import Foundation
import CoreGraphics
import SwiftUI
#if os(macOS)
import AppKit
Expand Down

0 comments on commit a09d7c8

Please sign in to comment.