diff --git a/Sources/Brave/Frontend/Browser/BrowserViewController.swift b/Sources/Brave/Frontend/Browser/BrowserViewController.swift index a9ccbbc0605..04a24b30c6c 100644 --- a/Sources/Brave/Frontend/Browser/BrowserViewController.swift +++ b/Sources/Brave/Frontend/Browser/BrowserViewController.swift @@ -378,7 +378,8 @@ public class BrowserViewController: UIViewController { } if Preferences.Privacy.screenTimeEnabled.value { - screenTimeViewController = STWebpageController() + // Enable once fixed, ref #8566 + //screenTimeViewController = STWebpageController() } } @@ -3302,7 +3303,8 @@ extension BrowserViewController: PreferencesObserver { recordAdsUsageType() case Preferences.Privacy.screenTimeEnabled.key: if Preferences.Privacy.screenTimeEnabled.value { - screenTimeViewController = STWebpageController() + // Enable once fixed, ref #8566 + //screenTimeViewController = STWebpageController() if let tab = tabManager.selectedTab { recordScreenTimeUsage(for: tab) } diff --git a/Sources/Brave/Frontend/Settings/Features/ShieldsPrivacy/OtherPrivacySettingsSectionView.swift b/Sources/Brave/Frontend/Settings/Features/ShieldsPrivacy/OtherPrivacySettingsSectionView.swift index 201ae5e93fa..2d065895078 100644 --- a/Sources/Brave/Frontend/Settings/Features/ShieldsPrivacy/OtherPrivacySettingsSectionView.swift +++ b/Sources/Brave/Frontend/Settings/Features/ShieldsPrivacy/OtherPrivacySettingsSectionView.swift @@ -69,11 +69,14 @@ struct OtherPrivacySettingsSectionView: View { subtitle: String.localizedStringWithFormat(Strings.googleSafeBrowsingUsingWebKitDescription, URL.brave.safeBrowsingHelp.absoluteString), option: Preferences.Shields.googleSafeBrowsing ) + // Enable once fixed, ref #8566 + /* OptionToggleView( title: Strings.screenTimeSetting, subtitle: String.localizedStringWithFormat(Strings.screenTimeSettingDescription, URL.brave.screenTimeHelp.absoluteString), option: Preferences.Privacy.screenTimeEnabled ) + */ ShieldToggleView( title: Strings.P3A.settingTitle, subtitle: Strings.P3A.settingSubtitle,