From 90169017cd57982164654916dd71229d37e2ae36 Mon Sep 17 00:00:00 2001 From: arichornlover <78001398+arichornlover@users.noreply.github.com> Date: Sun, 14 Apr 2024 01:00:52 -0500 Subject: [PATCH] Update YTLitePlus.xm --- YTLitePlus.xm | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/YTLitePlus.xm b/YTLitePlus.xm index 328c2ef..8256d6e 100644 --- a/YTLitePlus.xm +++ b/YTLitePlus.xm @@ -38,6 +38,9 @@ static BOOL IsEnabled(NSString *key) { return [[NSUserDefaults standardUserDefaults] boolForKey:key]; } +# pragma mark - Tweaks + +// Activate FLEX %hook YTAppDelegate - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { @@ -57,7 +60,13 @@ static BOOL IsEnabled(NSString *key) { } %end -# pragma mark - Tweaks +// Enable Alternate Icons +%hook UIApplication +- (BOOL)supportsAlternateIcons { + return YES; +} +%end + // Skips content warning before playing *some videos - @PoomSmart %hook YTPlayabilityResolutionUserActionUIController - (void)showConfirmAlert { [self confirmAlertDidPressConfirm]; }