Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

Commit d26dd78

Browse files
committed
Upadated formatting AGAIN!
1 parent b172c51 commit d26dd78

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

packages/firebase_auth/ios/Classes/FirebaseAuthPlugin.m

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ @interface NSError (FIRAuthErrorCode)
1313
@implementation NSError (FIRAuthErrorCode)
1414
- (NSString *)firAuthErrorCode {
1515
NSString *code = [self userInfo][FIRAuthErrorNameKey];
16-
if(code != nil){
17-
return code;
16+
if (code != nil) {
17+
return code;
1818
}
1919
return [NSString stringWithFormat:@"ERROR_%d", (int)self.code];
2020
}
@@ -183,8 +183,7 @@ - (void)handleMethodCall:(FlutterMethodCall *)call result:(FlutterResult)result
183183
}];
184184
} else if ([@"linkWithFacebookCredential" isEqualToString:call.method]) {
185185
NSString *accessToken = call.arguments[@"accessToken"];
186-
FIRAuthCredential *credential =
187-
[FIRFacebookAuthProvider credentialWithAccessToken:accessToken];
186+
FIRAuthCredential *credential = [FIRFacebookAuthProvider credentialWithAccessToken:accessToken];
188187
[[FIRAuth auth].currentUser
189188
linkAndRetrieveDataWithCredential:credential
190189
completion:^(FIRAuthDataResult *_Nullable authResult,

0 commit comments

Comments
 (0)