Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.
Prev Previous commit
Next Next commit
Fix formatting
  • Loading branch information
ryanheise committed Aug 10, 2020
commit e2ee1dfe562b739fdd918e0d2b80e7c61285418f
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ - (void)handleMethodCall:(FlutterMethodCall *)call result:(FlutterResult)result
[GIDSignIn sharedInstance].clientID = plist[kClientIdKey];
[GIDSignIn sharedInstance].serverClientID = plist[kServerClientIdKey];
[GIDSignIn sharedInstance].scopes = call.arguments[@"scopes"];
NSString *hostedDomain = call.arguments[@"hostedDomain"];
[GIDSignIn sharedInstance].hostedDomain = hostedDomain != (id)[NSNull null] ? hostedDomain : @"";
NSString *hostedDomain = call.arguments[@"hostedDomain"];
[GIDSignIn sharedInstance].hostedDomain = hostedDomain != (id)[NSNull null] ? hostedDomain : @"";
result(nil);
} else {
result([FlutterError errorWithCode:@"missing-config"
Expand Down