From 2274a95911608393cf2ab12ea1e042cb22492f0f Mon Sep 17 00:00:00 2001 From: Balackburn <93828569+Balackburn@users.noreply.github.com> Date: Thu, 6 Jul 2023 21:17:40 +0200 Subject: [PATCH] fixed #3 & AppSpoofer --- Header.h | 9 +++++++++ Source/Settings.xm | 3 +++ 2 files changed, 12 insertions(+) diff --git a/Header.h b/Header.h index 350de15..01826e4 100644 --- a/Header.h +++ b/Header.h @@ -77,6 +77,15 @@ @property (nonatomic, assign, readwrite) BOOL enableSnapToChapter; @end +// SponsorBlock button in Nav bar +@interface MDCButton : UIButton +@end + +@interface YTRightNavigationButtons : UIView +@property YTQTMButton *notificationButton; +@property YTQTMButton *sponsorBlockButton; +@end + // IAmYouTube @interface SSOConfiguration : NSObject @end diff --git a/Source/Settings.xm b/Source/Settings.xm index 16fa53c..73b4310 100644 --- a/Source/Settings.xm +++ b/Source/Settings.xm @@ -15,6 +15,9 @@ static int GetSelection(NSString *key) { static int colorContrastMode() { return [[NSUserDefaults standardUserDefaults] integerForKey:@"lcmColor"]; } +static int appVersionSpoofer() { + return [[NSUserDefaults standardUserDefaults] integerForKey:@"versionSpoofer"]; +} static const NSInteger YTLitePlusSection = 500; @interface YTSettingsSectionItemManager (YTLitePlus)