diff options
| author | Bug Magnet <marco.nikic@mullvad.net> | 2023-10-05 09:49:57 +0200 |
|---|---|---|
| committer | Bug Magnet <marco.nikic@mullvad.net> | 2023-10-05 10:21:20 +0200 |
| commit | 6bcff8c937ccb8629ce1c8f5dfae3373675fc265 (patch) | |
| tree | a9c18a4b2acdb207cbc24dc724baec5a0dceb4e7 /ios | |
| parent | cfde812c6b3b0d3e4545d79d37fa4f3a5e7d241f (diff) | |
| download | mullvadvpn-6bcff8c937ccb8629ce1c8f5dfae3373675fc265.tar.xz mullvadvpn-6bcff8c937ccb8629ce1c8f5dfae3373675fc265.zip | |
Make social media block setting conflict with custom DNS
Diffstat (limited to 'ios')
| -rw-r--r-- | ios/MullvadVPN/View controllers/Preferences/PreferencesViewModel.swift | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ios/MullvadVPN/View controllers/Preferences/PreferencesViewModel.swift b/ios/MullvadVPN/View controllers/Preferences/PreferencesViewModel.swift index fbfd5f53df..a429f1f36d 100644 --- a/ios/MullvadVPN/View controllers/Preferences/PreferencesViewModel.swift +++ b/ios/MullvadVPN/View controllers/Preferences/PreferencesViewModel.swift @@ -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 |
