Skip to content

Commit dbe49dc

Browse files
authored
Fix macro in GIDGoogleUser.m (#259)
1 parent eade6df commit dbe49dc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

GoogleSignIn/Sources/GIDGoogleUser.m

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -184,11 +184,11 @@ - (OIDAuthState *) authState{
184184
}
185185

186186
- (void)addScopes:(NSArray<NSString *> *)scopes
187-
#if TARGET_OS_IOS && !TARGET_OS_MACCATALYST
187+
#if TARGET_OS_IOS || TARGET_OS_MACCATALYST
188188
presentingViewController:(UIViewController *)presentingViewController
189-
#elif TARGET_OS_OSX || TARGET_OS_MACCATALYST
189+
#elif TARGET_OS_OSX
190190
presentingWindow:(NSWindow *)presentingWindow
191-
#endif // TARGET_OS_IOS && !TARGET_OS_MACCATALYST
191+
#endif // TARGET_OS_IOS || TARGET_OS_MACCATALYST
192192
completion:(nullable void (^)(GIDUserAuth *_Nullable userAuth,
193193
NSError *_Nullable error))completion {
194194
if (self != GIDSignIn.sharedInstance.currentUser) {

0 commit comments

Comments
 (0)