Skip to content

Commit 6c5c77c

Browse files
committed
Set systemColor init for Color as fileprivate
1 parent f7e5d69 commit 6c5c77c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/OpenSwiftUI/Views/Color.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ public struct Color: View, Hashable, CustomStringConvertible {
120120
self.provider = _Resolved(linearRed: rgb.red, linearGreen: rgb.green, linearBlue: rgb.blue, opacity: opacity)
121121
}
122122

123-
internal init(_ systemColor: SystemColorType.SystemColor) {
123+
fileprivate init(_ systemColor: SystemColorType.SystemColor) {
124124
self.provider = SystemColorType(value: systemColor)
125125
}
126126

0 commit comments

Comments
 (0)