Fix YTLitePlus Section (v19.03.2+)

This commit is contained in:
Balackburn
2024-01-26 16:53:46 +01:00
parent af72afee29
commit 6174f45f3c

View File

@@ -539,8 +539,10 @@ extern NSBundle *YTLitePlusBundle();
}]; }];
[sectionItems addObject:miscellaneousGroup]; [sectionItems addObject:miscellaneousGroup];
[settingsViewController setSectionItems:sectionItems forCategory:YTLitePlusSection title:@"YTLitePlus" titleDescription:LOC(@"TITLE DESCRIPTION") headerHidden:YES]; if ([settingsViewController respondsToSelector:@selector(setSectionItems:forCategory:title:icon:titleDescription:headerHidden:)])
} [settingsViewController setSectionItems:sectionItems forCategory:YTLitePlusSection title:@"YTLitePlus" icon:nil titleDescription:LOC(@"TITLE DESCRIPTION") headerHidden:YES];
else
[settingsViewController setSectionItems:sectionItems forCategory:YTLitePlusSection title:@"YTLitePlus" titleDescription:LOC(@"TITLE DESCRIPTION") headerHidden:YES];}
- (void)updateSectionForCategory:(NSUInteger)category withEntry:(id)entry { - (void)updateSectionForCategory:(NSUInteger)category withEntry:(id)entry {
if (category == YTLitePlusSection) { if (category == YTLitePlusSection) {