Skip to content

Commit

Permalink
Update Color.swift
Browse files Browse the repository at this point in the history
  • Loading branch information
rudrankriyam authored Feb 1, 2024
1 parent bc4e677 commit 470026d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/RRComponentsKit/Extensions/Color.swift
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public extension Color {
}
}

#if os(iOS)
#if os(iOS) || os(visionOS)
public extension UIColor {
convenience init(red: Int, green: Int, blue: Int) {
let red = CGFloat(red) / 255
Expand Down

0 comments on commit 470026d

Please sign in to comment.