mirror of
https://github.com/arichornlover/uYouEnhanced.git
synced 2026-04-21 03:32:08 +00:00
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:
parent
a300528a72
commit
cd1dcf8826
1 changed files with 13 additions and 0 deletions
|
|
@ -107,6 +107,19 @@ extern NSBundle *uYouPlusBundle();
|
||||||
];
|
];
|
||||||
[sectionItems addObject:bug];
|
[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)
|
YTSettingsSectionItem *exitYT = [%c(YTSettingsSectionItem)
|
||||||
itemWithTitle:LOC(@"QUIT_YOUTUBE")
|
itemWithTitle:LOC(@"QUIT_YOUTUBE")
|
||||||
titleDescription:nil
|
titleDescription:nil
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue