Skip to content

Commit

Permalink
Fix embargo
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisballinger committed Aug 10, 2024
1 parent 3fa59cf commit 0d36c0e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions iBurn/NSUserDefaults+iBurn.m
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
static NSString *const kBRCSelectedEventsTypesKey = @"kBRCSelectedEventsTypesKey";
static NSString *const kBRCShowExpiredEventsKey = @"kBRCShowExpiredEventsKey";
static NSString *const kBRCRecentLocationKey = @"kBRCRecentLocationKey";
static NSString *const kBRCEntered2023EmbargoPasscodeKey = @"kBRCEntered2023EmbargoPasscodeKey";
static NSString *const kBRCEntered2024EmbargoPasscodeKey = @"kBRCEntered2024EmbargoPasscodeKey";
static NSString *const kBRCHasViewedOnboardingKey = @"kBRCHasViewedOnboardingKey";
static NSString *const kBRCShowAllDayEventsKey = @"kBRCShowAllDayEventsKey";

Expand Down Expand Up @@ -71,12 +71,12 @@ - (CLLocation*) recentLocation {

- (BOOL)enteredEmbargoPasscode
{
return [self boolForKey:kBRCEntered2023EmbargoPasscodeKey];
return [self boolForKey:kBRCEntered2024EmbargoPasscodeKey];
}

- (void)setEnteredEmbargoPasscode:(BOOL)enteredEmbargoPasscode
{
[self setBool:enteredEmbargoPasscode forKey:kBRCEntered2023EmbargoPasscodeKey];
[self setBool:enteredEmbargoPasscode forKey:kBRCEntered2024EmbargoPasscodeKey];
[self synchronize];
}

Expand Down

0 comments on commit 0d36c0e

Please sign in to comment.