Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Fix #8369: Disable content blockers when TP is disabled #8370

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,10 @@ actor ContentBlockerManager {
return .generic(genericType)
}

guard domain.isShieldExpected(.AdblockAndTp, considerAllShieldsOption: true) else {
return Set(genericRuleLists)
}

// Get rule lists for filter lists
let filterLists = FilterListStorage.shared.filterLists
let additionalRuleLists = filterLists.compactMap { filterList -> BlocklistType? in
Expand Down