diff --git a/DuckDuckGo/PrivacyDashboard/PrivacyDashboardViewController.swift b/DuckDuckGo/PrivacyDashboard/PrivacyDashboardViewController.swift index 8da87eea67..c4a2e67877 100644 --- a/DuckDuckGo/PrivacyDashboard/PrivacyDashboardViewController.swift +++ b/DuckDuckGo/PrivacyDashboard/PrivacyDashboardViewController.swift @@ -84,6 +84,9 @@ class PrivacyDashboardViewController: UIViewController { } private func privacyDashboardProtectionSwitchChangeHandler(state: ProtectionState) { + + dismiss(animated: true) + guard let domain = privacyDashboardController.privacyInfo?.url.host else { return } let privacyConfiguration = privacyConfigurationManager.privacyConfig