mirror of
				https://github.com/SoPat712/YTLitePlus.git
				synced 2025-10-30 12:23:58 -04:00 
			
		
		
		
	Update YTLitePlus.xm
This commit is contained in:
		| @@ -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<UIApplicationLaunchOptionsKey, id> *)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]; } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 arichornlover
					arichornlover