From 518b4e99e3b5eafa003ecb4e0efa768819eab926 Mon Sep 17 00:00:00 2001 From: qnblackcat Date: Fri, 23 Dec 2022 01:10:32 +0700 Subject: [PATCH] update Header.h --- Header.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Header.h b/Header.h index b2dfc93..956c52e 100644 --- a/Header.h +++ b/Header.h @@ -13,6 +13,14 @@ @end // uYouPlus +static BOOL IsEnabled(NSString *key) { + return [[NSUserDefaults standardUserDefaults] boolForKey:key]; +} + +static int GetSelection(NSString *key) { + return [[NSUserDefaults standardUserDefaults] integerForKey:key]; +} + @interface YTPlayabilityResolutionUserActionUIController : NSObject // Skips content warning before playing *some videos - @PoomSmart - (void)confirmAlertDidPressConfirm; @end @@ -41,6 +49,10 @@ - (float)progress; @end +@interface YTSegmentableInlinePlayerBarView +@property (nonatomic, assign, readwrite) BOOL enableSnapToChapter; +@end + // DontEatMyContent BOOL DEMC_deviceIsSupported(); void DEMC_activate();