Skip to content

Commit

Permalink
Add availability checks
Browse files Browse the repository at this point in the history
  • Loading branch information
grdsdev committed Apr 2, 2024
1 parent 76d55e0 commit 9231613
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Sources/Auth/AuthClient.swift
Original file line number Diff line number Diff line change
Expand Up @@ -609,6 +609,7 @@ public final class AuthClient: @unchecked Sendable {
)
}

@available(watchOS 6.2, tvOS 16.0, *)
@discardableResult
public func signInWithOAuth(
provider: Provider,
Expand Down Expand Up @@ -1195,7 +1196,7 @@ extension AuthClient {
import SwiftUI

extension AuthClient {
@available(iOS 16.4, *)
@available(iOS 16.4, macOS 13.3, watchOS 9.4, tvOS 16.4, *)
@discardableResult
public func signInWithOAuth(
provider: Provider,
Expand Down

0 comments on commit 9231613

Please sign in to comment.