-
Notifications
You must be signed in to change notification settings - Fork 15
/
Tweak.h
30 lines (27 loc) · 1.19 KB
/
Tweak.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// #import <sys/utsname.h>
#import <rootless.h>
// #include <roothide.h>
#import <YTHeaders/YTPlayerViewController.h>
#import <YTHeaders/YTPlayerView.h>
#import <YTHeaders/YTMainAppVideoPlayerOverlayViewController.h>
// #import <YTHeaders/MLHAMSBDLSampleBufferRenderingView.h>
#import <YTHeaders/YTMainAppEngagementPanelViewController.h>
#import <YTHeaders/YTEngagementPanelContainerViewController.h>
#import <YTHeaders/YTLabel.h>
#import <YTHeaders/YTAlertView.h>
#import <YTHeaders/YTHUDMessage.h>
#import <YTHeaders/GOOHUDManagerInternal.h>
#import <YTHeaders/YTUIUtils.h>
// Keys
#define kTweak @"DEMC_enabled"
#define kColorViews @"DEMC_colorViewsEnabled"
#define kSafeAreaConstant @"DEMC_safeAreaConstant"
#define kDisableAmbientMode @"DEMC_disableAmbientMode"
#define kLimitZoomToFill @"DEMC_limitZoomToFill"
#define kEnableForAllVideos @"DEMC_enableForAllVideos"
#define THRESHOLD 1.97
#define DEFAULT_CONSTANT 21.5
#define IS_ENABLED(k) [[NSUserDefaults standardUserDefaults] boolForKey:k]
void DEMC_showSnackBar(NSString *text);
NSBundle *DEMC_getTweakBundle();
CGFloat constant; // Makes rendering view a bit larger since constraining to safe area leaves a gap between the notch/Dynamic Island and video