Skip to content

Commit 4750e59

Browse files
committed
📲 Fix version compatability
1 parent 75b17ae commit 4750e59

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

‎Sources/ShinySwiftUI/Extensions/SwiftUI/Color/Color+Codable.swift

+2-3
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import WatchKit
1515
import AppKit
1616
#endif
1717

18-
@available(macOS 11.0, *)
18+
@available(iOS 14.0, macOS 11.0, *)
1919
extension Color: Codable {
2020

2121
// MARK: - Inheritance
@@ -46,8 +46,7 @@ extension Color: Codable {
4646
}
4747
}
4848

49-
50-
@available(macOS 11.0, *)
49+
@available(iOS 14.0, macOS 11.0, *)
5150
fileprivate extension Color {
5251
#if os(macOS)
5352
typealias SystemColor = NSColor

0 commit comments

Comments
 (0)