Skip to content

Commit

Permalink
Merge branch 'fix-social-media-dns-block-setting-ios-329'
Browse files Browse the repository at this point in the history
  • Loading branch information
buggmagnet committed Oct 5, 2023
2 parents cfde812 + 6bcff8c commit ae58879
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,8 @@ struct PreferencesViewModel: Equatable {

/// Precondition for enabling Custom DNS.
var customDNSPrecondition: CustomDNSPrecondition {
if blockAdvertising || blockTracking || blockMalware || blockAdultContent || blockGambling {
if blockAdvertising || blockTracking || blockMalware ||
blockAdultContent || blockGambling || blockSocialMedia {
return .conflictsWithOtherSettings
} else {
let hasValidDNSDomains = customDNSDomains.contains { entry in
Expand Down

0 comments on commit ae58879

Please sign in to comment.