Update Settings.xm

This commit is contained in:
arichornlover 2023-12-13 19:46:09 -06:00 committed by GitHub
parent 743d7f4b3c
commit 42c913af86
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1616,16 +1616,6 @@ extern NSBundle *uYouPlusBundle();
}
settingItemId:0],
[YTSettingsSectionItemClass switchItemWithTitle:LOC(@"Restore the Previous Channel Page")
titleDescription:LOC(@"This will Restore the Previous Channel Page UI that was originally in YouTube v16.xx.x or older. App restart is required.")
accessibilityIdentifier:nil
switchOn:IsEnabled(@"restorePreviousChannelPage_enabled")
switchBlock:^BOOL (YTSettingsCell *cell, BOOL enabled) {
[[NSUserDefaults standardUserDefaults] setBool:enabled forKey:@"restorePreviousChannelPage_enabled"];
return YES;
}
settingItemId:0],
[YTSettingsSectionItemClass switchItemWithTitle:LOC(@"Disable Modern Buttons")
titleDescription:LOC(@"This will remove the new Modern / Chip Buttons in the YouTube App. but not all of them. App restart is required.")
accessibilityIdentifier:nil