Skip to content

Commit 04498ae

Browse files
authored
Update FUICustomAuthUIDelegate.swift (#1205)
Update sample based on learnings discussed in #1203
1 parent 34a2a69 commit 04498ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

samples/swift/FirebaseUI-demo-swift/Samples/Auth/FUICustomAuthUIDelegate.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import FirebaseEmailAuthUI
2020

2121
class FUICustomAuthDelegate: NSObject, FUIAuthDelegate {
2222

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

0 commit comments

Comments
 (0)