Added “Support the Developers” Button (Settings)

Added this because I’m tired of getting into situations that make me look awful.
This commit is contained in:
arichornlover 2024-04-04 11:54:21 -05:00 committed by GitHub
parent a300528a72
commit cd1dcf8826
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -107,6 +107,19 @@ extern NSBundle *uYouPlusBundle();
];
[sectionItems addObject:bug];
YTSettingsSectionItem *developers = [%c(YTSettingsSectionItem)
itemWithTitle:LOC(@"Support the Developers")
titleDescription:LOC(@"MiRO92, PoomSmart, level3tjg, BandarHL, julioverne & Galactic-dev")
accessibilityIdentifier:nil
detailTextBlock:^NSString *() {
return nil;
}
selectBlock:^BOOL (YTSettingsCell *cell, NSUInteger arg1) {
return [%c(YTUIUtils) openURL:[NSURL URLWithString:@"https://github.com/arichornlover/uYouEnhanced/blob/main/README.md#support-the-developers"]];
}
];
[sectionItems addObject:developers];
YTSettingsSectionItem *exitYT = [%c(YTSettingsSectionItem)
itemWithTitle:LOC(@"QUIT_YOUTUBE")
titleDescription:nil