Skip to content

Commit

Permalink
Update FUICustomAuthUIDelegate.swift (#1205)
Browse files Browse the repository at this point in the history
Update sample based on learnings discussed in #1203
  • Loading branch information
paulb777 authored Aug 22, 2024
1 parent 34a2a69 commit 04498ae
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import FirebaseEmailAuthUI

class FUICustomAuthDelegate: NSObject, FUIAuthDelegate {

func authUI(_ authUI: FUIAuth, didSignInWith authDataResult: AuthDataResult?, error: Error?) {
@objc func authUI(_ authUI: FUIAuth, didSignInWith authDataResult: AuthDataResult?, error: Error?) {
switch error {
case .some(let error as NSError) where UInt(error.code) == FUIAuthErrorCode.userCancelledSignIn.rawValue:
print("User cancelled sign-in")
Expand Down

0 comments on commit 04498ae

Please sign in to comment.