From cd1dcf882622e867eb2cc988a5d2ba40d4e52057 Mon Sep 17 00:00:00 2001 From: arichornlover <78001398+arichornlover@users.noreply.github.com> Date: Thu, 4 Apr 2024 11:54:21 -0500 Subject: [PATCH] =?UTF-8?q?Added=20=E2=80=9CSupport=20the=20Developers?= =?UTF-8?q?=E2=80=9D=20Button=20(Settings)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Added this because I’m tired of getting into situations that make me look awful. --- Sources/uYouPlusSettings.xm | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Sources/uYouPlusSettings.xm b/Sources/uYouPlusSettings.xm index 62c467e..dc08735 100644 --- a/Sources/uYouPlusSettings.xm +++ b/Sources/uYouPlusSettings.xm @@ -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