Skip to content

Commit d0e8d4a

Browse files
committed
Add visionOS 26.0 to #available check
1 parent 62f2b87 commit d0e8d4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

FirebaseAI/Sources/Types/Public/StructuredOutput/ResponseID.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ extension ResponseID.Identifier: Equatable {
6161
} else if case let .generationID(lhsGenerationID) = lhs,
6262
case let .generationID(rhsGenerationID) = rhs {
6363
#if canImport(FoundationModels)
64-
if #available(iOS 26.0, macOS 26.0, *) {
64+
if #available(iOS 26.0, macOS 26.0, visionOS 26.0, *) {
6565
guard let lhsGenerationID = lhsGenerationID as? GenerationID,
6666
let rhsGenerationID = rhsGenerationID as? GenerationID else {
6767
return false

0 commit comments

Comments
 (0)