Skip to content

Commit

Permalink
exclude version param
Browse files Browse the repository at this point in the history
  • Loading branch information
Shane Osbourne committed Oct 20, 2023
1 parent db2dc83 commit 944fcd6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -179,10 +179,10 @@ extension PrivacyDashboardViewController: PrivacyDashboardControllerDelegate {
let configuration = ContentBlocking.shared.privacyConfigurationManager.privacyConfig
if protectionState.isProtected && configuration.isUserUnprotected(domain: domain) {
configuration.userEnabledProtection(forDomain: domain)
Pixel.fire(.dashboardProtectionAllowlistRemove(triggerOrigin: protectionState.eventOrigin.screen.rawValue))
Pixel.fire(.dashboardProtectionAllowlistRemove(triggerOrigin: protectionState.eventOrigin.screen.rawValue), includeAppVersionParameter: false)
} else {
configuration.userDisabledProtection(forDomain: domain)
Pixel.fire(.dashboardProtectionAllowlistAdd(triggerOrigin: protectionState.eventOrigin.screen.rawValue))
Pixel.fire(.dashboardProtectionAllowlistAdd(triggerOrigin: protectionState.eventOrigin.screen.rawValue), includeAppVersionParameter: false)
}

let completionToken = ContentBlocking.shared.contentBlockingManager.scheduleCompilation()
Expand Down

0 comments on commit 944fcd6

Please sign in to comment.