Tweaks
This commit is contained in:
parent
d71bfd8ffb
commit
a09d7c8957
|
@ -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? {
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
import Foundation
|
|
||||||
import CoreGraphics
|
|
||||||
import SwiftUI
|
import SwiftUI
|
||||||
#if os(macOS)
|
#if os(macOS)
|
||||||
import AppKit
|
import AppKit
|
||||||
|
|
Loading…
Reference in New Issue