removed useless cercube code

This commit is contained in:
Balackburn
2023-06-27 12:37:36 +02:00
parent 953ed8085b
commit ede1f9e5ec

View File

@@ -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