Skip to content

Commit e9f4eae

Browse files
committed
Merge branch 'firebase-8' of github.com:firebase/FirebaseUI-iOS into firebase-8
2 parents c1e39c8 + f65dc65 commit e9f4eae

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

FirebaseFacebookAuthUI/Sources/FUIFacebookAuth.m

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -320,8 +320,9 @@ - (void)configureProvider {
320320
if (facebookAppId == nil || facebookDisplayName == nil) {
321321
// Executes in test targets only.
322322
bundle = [FUIFacebookAuth bundle];
323-
facebookAppId = [bundle objectForInfoDictionaryKey:kFacebookAppId];
324-
facebookDisplayName = [bundle objectForInfoDictionaryKey:kFacebookDisplayName];
323+
facebookAppId = facebookAppId ?: [bundle objectForInfoDictionaryKey:kFacebookAppId];
324+
facebookDisplayName = facebookDisplayName ?:
325+
[bundle objectForInfoDictionaryKey:kFacebookDisplayName];
325326
}
326327

327328
if (!(facebookAppId && facebookDisplayName)) {

0 commit comments

Comments
 (0)