We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c1e39c8 + f65dc65 commit e9f4eaeCopy full SHA for e9f4eae
FirebaseFacebookAuthUI/Sources/FUIFacebookAuth.m
@@ -320,8 +320,9 @@ - (void)configureProvider {
320
if (facebookAppId == nil || facebookDisplayName == nil) {
321
// Executes in test targets only.
322
bundle = [FUIFacebookAuth bundle];
323
- facebookAppId = [bundle objectForInfoDictionaryKey:kFacebookAppId];
324
- facebookDisplayName = [bundle objectForInfoDictionaryKey:kFacebookDisplayName];
+ facebookAppId = facebookAppId ?: [bundle objectForInfoDictionaryKey:kFacebookAppId];
+ facebookDisplayName = facebookDisplayName ?:
325
+ [bundle objectForInfoDictionaryKey:kFacebookDisplayName];
326
}
327
328
if (!(facebookAppId && facebookDisplayName)) {
0 commit comments