From ede1f9e5ecd6f20fe9e434230bea4f8156ab58a6 Mon Sep 17 00:00:00 2001 From: Balackburn <93828569+Balackburn@users.noreply.github.com> Date: Tue, 27 Jun 2023 12:37:36 +0200 Subject: [PATCH] removed useless cercube code --- Source/Settings.xm | 30 ------------------------------ 1 file changed, 30 deletions(-) diff --git a/Source/Settings.xm b/Source/Settings.xm index 1c14456..49bab5f 100644 --- a/Source/Settings.xm +++ b/Source/Settings.xm @@ -657,36 +657,6 @@ extern NSBundle *YTLitePlusBundle(); } settingItemId:0], - [YTSettingsSectionItemClass switchItemWithTitle:LOC(@"HIDE_CERCUBE_BUTTON") - titleDescription:LOC(@"") - accessibilityIdentifier:nil - switchOn:IsEnabled(@"hideCercubeButton_enabled") - switchBlock:^BOOL (YTSettingsCell *cell, BOOL enabled) { - [[NSUserDefaults standardUserDefaults] setBool:enabled forKey:@"hideCercubeButton_enabled"]; - return YES; - } - settingItemId:0], - - [YTSettingsSectionItemClass switchItemWithTitle:LOC(@"HIDE_CERCUBE_PIP_BUTTON") - titleDescription:LOC(@"HIDE_CERCUBE_PIP_BUTTON_DESC") - accessibilityIdentifier:nil - switchOn:IsEnabled(@"hideCercubePiP_enabled") - switchBlock:^BOOL (YTSettingsCell *cell, BOOL enabled) { - [[NSUserDefaults standardUserDefaults] setBool:enabled forKey:@"hideCercubePiP_enabled"]; - return YES; - } - settingItemId:0], - - [YTSettingsSectionItemClass switchItemWithTitle:LOC(@"HIDE_CERCUBE_DOWNLOAD_BUTTON") - titleDescription:LOC(@"HIDE_CERCUBE_DOWNLOAD_BUTTON_DESC") - accessibilityIdentifier:nil - switchOn:IsEnabled(@"hideCercubeDownload_enabled") - switchBlock:^BOOL (YTSettingsCell *cell, BOOL disabled) { - [[NSUserDefaults standardUserDefaults] setBool:YES forKey:@"hideCercubeDownload_enabled"]; - return YES; - } - settingItemId:0], - [YTSettingsSectionItemClass switchItemWithTitle:LOC(@"DISABLE_WIFI_RELATED_SETTINGS") titleDescription:LOC(@"DISABLE_WIFI_RELATED_SETTINGS_DESC") accessibilityIdentifier:nil