Skip to content

Commit e587132

Browse files
Alex-4-Gitpetea
andauthored
Follow up: Fix macro in GIDGoogleUser.m (#263)
Co-authored-by: Peter Andrews <[email protected]>
1 parent cc589b4 commit e587132

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
@@ -204,11 +204,11 @@ - (void)addScopes:(NSArray<NSString *> *)scopes
204204
}
205205

206206
[GIDSignIn.sharedInstance addScopes:scopes
207-
#if TARGET_OS_IOS && !TARGET_OS_MACCATALYST
207+
#if TARGET_OS_IOS || TARGET_OS_MACCATALYST
208208
presentingViewController:presentingViewController
209-
#elif TARGET_OS_OSX || TARGET_OS_MACCATALYST
209+
#elif TARGET_OS_OSX
210210
presentingWindow:presentingWindow
211-
#endif // TARGET_OS_IOS && !TARGET_OS_MACCATALYST
211+
#endif // TARGET_OS_IOS || TARGET_OS_MACCATALYST
212212
completion:completion];
213213
}
214214

0 commit comments

Comments
 (0)