Update Settings.xm

This commit is contained in:
arichorn 2023-09-24 20:12:00 -05:00 committed by GitHub
parent 3d2310589a
commit c1e75b443c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1643,6 +1643,16 @@ extern NSBundle *uYouPlusBundle();
}
settingItemId:0],
[YTSettingsSectionItemClass switchItemWithTitle:LOC(@"Hide Header Links under Channel Profile")
titleDescription:LOC(@"Hides the Header Links under any Channel Profile.")
accessibilityIdentifier:nil
switchOn:IsEnabled(@"hideChannelHeaderLinks_enabled")
switchBlock:^BOOL (YTSettingsCell *cell, BOOL enabled) {
[[NSUserDefaults standardUserDefaults] setBool:enabled forKey:@"hideChannelHeaderLinks_enabled"];
return YES;
}
settingItemId:0],
/*
[YTSettingsSectionItemClass switchItemWithTitle:LOC(@"Hide the Download Button under player")
titleDescription:LOC(@"Hides the Download Button below the player.")