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

Commit 9a67228

Browse files
committed
valueForKey
1 parent cd4a6c4 commit 9a67228

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/google_sign_in/google_sign_in/ios/Classes/FLTGoogleSignInPlugin.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,10 +90,10 @@ - (void)handleMethodCall:(FlutterMethodCall *)call result:(FlutterResult)result
9090
NSMutableDictionary<NSString *, NSString *> *plist =
9191
[[NSMutableDictionary alloc] initWithContentsOfFile:path];
9292
BOOL hasDynamicClientId =
93-
[[call.arguments valueForKey:@"clientId"] isKindOfClass:[NSString class]];
93+
[call.arguments[@"clientId"] isKindOfClass:[NSString class]];
9494

9595
if (hasDynamicClientId) {
96-
self.signIn.clientID = [call.arguments valueForKey:@"clientId"];
96+
self.signIn.clientID = call.arguments[@"clientId"];
9797
} else {
9898
self.signIn.clientID = plist[kClientIdKey];
9999
}

0 commit comments

Comments
 (0)