From 068a612a02c2be1cc4f496020cd61921c7d4454f Mon Sep 17 00:00:00 2001 From: Brandon Stalnaker Date: Mon, 9 Sep 2024 10:33:37 -0400 Subject: [PATCH] spellcheck --- Sources/mParticle-Appboy/MPKitAppboy.m | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Sources/mParticle-Appboy/MPKitAppboy.m b/Sources/mParticle-Appboy/MPKitAppboy.m index 0397bfb..5b89d70 100644 --- a/Sources/mParticle-Appboy/MPKitAppboy.m +++ b/Sources/mParticle-Appboy/MPKitAppboy.m @@ -1061,7 +1061,7 @@ - (void)updateConsent { // Update from mParticle consent if (self.configuration && self.configuration[MPConsentMappingSDKKey]) { - // Retrieve the array of Consent Map Dicitonaries from the Config + // Retrieve the array of Consent Map Dictionaries from the Config NSData *objectData = [self.configuration[MPConsentMappingSDKKey] dataUsingEncoding:NSUTF8StringEncoding]; NSArray *consentMappingArray = [NSJSONSerialization JSONObjectWithData:objectData options:NSJSONReadingMutableContainers @@ -1075,8 +1075,7 @@ - (void)updateConsent { MPGDPRConsent *consent = userConsentMap[consentPurpose.lowercaseString]; if ([brazeConsentName isEqualToString:MPGoogleAdUserDataKey]) { [appboyInstance.user setCustomAttributeWithKey:BGoogleAdUserDataKey boolValue:consent.consented]; - } - if ([brazeConsentName isEqualToString:MPGoogleAdPersonalizationKey]) { + } else if ([brazeConsentName isEqualToString:MPGoogleAdPersonalizationKey]) { [appboyInstance.user setCustomAttributeWithKey:BGoogleAdPersonalizationKey boolValue:consent.consented]; } }