Skip to content
Merged
Changes from 1 commit
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
8 changes: 4 additions & 4 deletions FirebaseCore/Sources/FIROptions.m
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ - (id)copyWithZone:(NSZone *)zone {
FIROptions *newOptions = [(FIROptions *)[[self class] allocWithZone:zone]
initInternalWithOptionsDictionary:self.optionsDictionary];
if (newOptions) {
newOptions.deepLinkURLScheme = self.deepLinkURLScheme;
newOptions->_deepLinkURLScheme = self->_deepLinkURLScheme;
newOptions.appGroupID = self.appGroupID;
newOptions.editingLocked = self.isEditingLocked;
newOptions.usingOptionsFromDefaultPlist = self.usingOptionsFromDefaultPlist;
Expand Down Expand Up @@ -357,8 +357,8 @@ - (BOOL)isEqualToOptions:(FIROptions *)options {

// Validate extra properties not contained in the dictionary. Only validate it if one of the
// objects has the property set.
if ((options.deepLinkURLScheme != nil || self.deepLinkURLScheme != nil) &&
![options.deepLinkURLScheme isEqualToString:self.deepLinkURLScheme]) {
if ((options->_deepLinkURLScheme != nil || self->_deepLinkURLScheme != nil) &&
![options->_deepLinkURLScheme isEqualToString:self->_deepLinkURLScheme]) {
return NO;
}

Expand All @@ -384,7 +384,7 @@ - (NSUInteger)hash {
// Note: `self.analyticsOptionsDictionary` was left out here since it solely relies on the
// contents of the main bundle's `Info.plist`. We should avoid reading that file and the contents
// should be identical.
return self.optionsDictionary.hash ^ self.deepLinkURLScheme.hash ^ self.appGroupID.hash;
return self->_deepLinkURLScheme.hash ^ self->_deepLinkURLScheme.hash ^ self.appGroupID.hash;
}

#pragma mark - Internal instance methods
Expand Down
Loading