Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions GoogleSignIn/Sources/GIDGoogleUser.m
Original file line number Diff line number Diff line change
Expand Up @@ -204,11 +204,11 @@ - (void)addScopes:(NSArray<NSString *> *)scopes
}

[GIDSignIn.sharedInstance addScopes:scopes
#if TARGET_OS_IOS && !TARGET_OS_MACCATALYST
#if TARGET_OS_IOS || TARGET_OS_MACCATALYST
presentingViewController:presentingViewController
#elif TARGET_OS_OSX || TARGET_OS_MACCATALYST
#elif TARGET_OS_OSX
presentingWindow:presentingWindow
#endif // TARGET_OS_IOS && !TARGET_OS_MACCATALYST
#endif // TARGET_OS_IOS || TARGET_OS_MACCATALYST
completion:completion];
}

Expand Down