Skip to content

Commit

Permalink
Add kSyncEnableCleanSyncEventUpload to the _forcedConfigKeyTypes dict (
Browse files Browse the repository at this point in the history
…#1123)

* Add kSyncEnableCleanSyncEventUpload to the _forcedConfigTypes dict.

* Add KVO helper.

---------

Co-authored-by: Russell Hancox <russellhancox@users.noreply.github.com>
  • Loading branch information
pmarkowsky and russellhancox authored Jul 6, 2023
1 parent cd719cc commit 9e124f4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Source/common/SNTConfigurator.m
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ - (instancetype)init {
kModeNotificationLockdown : string,
kStaticRules : array,
kSyncBaseURLKey : string,
kSyncEnableCleanSyncEventUpload : number,
kSyncProxyConfigKey : dictionary,
kClientAuthCertificateFileKey : string,
kClientAuthCertificatePasswordKey : string,
Expand Down Expand Up @@ -314,6 +315,10 @@ + (NSSet *)keyPathsForValuesAffectingSyncBaseURL {
return [self configStateSet];
}

+ (NSSet *)keyPathsForValuesAffectingEnableCleanSyncEventUpload {
return [self configStateSet];
}

+ (NSSet *)keyPathsForValuesAffectingEnablePageZeroProtection {
return [self configStateSet];
}
Expand Down

0 comments on commit 9e124f4

Please sign in to comment.