Skip to content

Commit

Permalink
Fix availability guard
Browse files Browse the repository at this point in the history
  • Loading branch information
mattmassicotte committed Mar 29, 2024
1 parent 90f08af commit bbfbda6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/NSUI/Color.swift
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import SwiftUI

extension Color {
@available(macOS 12.0, *)
@available(macOS 12.0, iOS 15.0, tvOS 15.0, watchOS 8.0, *)
public init(nsuiColor: NSUIColor) {
#if canImport(AppKit) && !targetEnvironment(macCatalyst)
self.init(nsColor: nsuiColor)
Expand Down

0 comments on commit bbfbda6

Please sign in to comment.