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)