From 6a618131d080b3db48ae7c4ca5cc312ae64acca6 Mon Sep 17 00:00:00 2001 From: NidhiDixit09 <93544270+NidhiDixit09@users.noreply.github.com> Date: Tue, 13 Feb 2024 17:06:52 -0800 Subject: [PATCH] Fixed Spelling mistake. --- BranchSDK/BNCPreferenceHelper.m | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/BranchSDK/BNCPreferenceHelper.m b/BranchSDK/BNCPreferenceHelper.m index edd37199b..5e6e51d98 100644 --- a/BranchSDK/BNCPreferenceHelper.m +++ b/BranchSDK/BNCPreferenceHelper.m @@ -62,7 +62,7 @@ static NSString * const BRANCH_PREFS_KEY_LOG_IAP_AS_EVENTS = @"bnc_log_iap_as_events"; static NSString * const BRANCH_PREFS_KEY_DMA_EEA = @"bnc_dma_eea"; -static NSString * const BRANCH_PREFS_KEY_DMA_AD_PEROSALIZATION = @"bnc_dma_ad_personalization"; +static NSString * const BRANCH_PREFS_KEY_DMA_AD_PERSONALIZATION = @"bnc_dma_ad_personalization"; static NSString * const BRANCH_PREFS_KEY_DMA_AD_USER_DATA = @"bnc_dma_ad_user_data"; @@ -823,7 +823,7 @@ - (void) setEeaRegion:(BOOL)isEEARegion { - (BOOL) adPersonalizationConsent { @synchronized(self) { - NSNumber *b = (id) [self readObjectFromDefaults:BRANCH_PREFS_KEY_DMA_AD_PEROSALIZATION]; + NSNumber *b = (id) [self readObjectFromDefaults:BRANCH_PREFS_KEY_DMA_AD_PERSONALIZATION]; if ([b isKindOfClass:NSNumber.class]) return [b boolValue]; return false; } @@ -832,7 +832,7 @@ - (BOOL) adPersonalizationConsent { - (void) setAdPersonalizationConsent:(BOOL)hasConsent { @synchronized(self) { NSNumber *b = [NSNumber numberWithBool:hasConsent]; - [self writeObjectToDefaults:BRANCH_PREFS_KEY_DMA_AD_PEROSALIZATION value:b]; + [self writeObjectToDefaults:BRANCH_PREFS_KEY_DMA_AD_PERSONALIZATION value:b]; } }