Update Settings.xm

This commit is contained in:
arichorn 2023-09-20 17:39:18 -05:00 committed by GitHub
parent ade503ebb3
commit 986be79147
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1644,9 +1644,9 @@ extern NSBundle *uYouPlusBundle();
[YTSettingsSectionItemClass switchItemWithTitle:LOC(@"Hide the comment section under player")
titleDescription:LOC(@"Hides the Comment Section below the player.")
accessibilityIdentifier:nil
switchOn:IsEnabled(@"noCommentSection_enabled")
switchOn:IsEnabled(@"hideCommentSection_enabled")
switchBlock:^BOOL (YTSettingsCell *cell, BOOL enabled) {
[[NSUserDefaults standardUserDefaults] setBool:enabled forKey:@"noCommentSection_enabled"];
[[NSUserDefaults standardUserDefaults] setBool:enabled forKey:@"hideCommentSection_enabled"];
return YES;
}
settingItemId:0],