mirror of
				https://github.com/SoPat712/YTLitePlus.git
				synced 2025-10-30 20:34:03 -04:00 
			
		
		
		
	Add Disable Engagement Overlay
This commit is contained in:
		| @@ -249,6 +249,14 @@ BOOL isTabSelected = NO; | ||||
| %end | ||||
| %end | ||||
|  | ||||
| %group gDisableEngagementOverlay | ||||
| %hook YTFullscreenEngagementOverlayController | ||||
| - (void)setEnabled:(BOOL)enabled { | ||||
|     %orig(NO); | ||||
| } | ||||
| %end | ||||
| %end | ||||
|  | ||||
| // YTNoModernUI - @arichornlover | ||||
| %group gYTNoModernUI | ||||
| %hook YTVersionUtils // YTNoModernUI Original Version | ||||
| @@ -759,6 +767,9 @@ BOOL isTabSelected = NO; | ||||
|     if (IsEnabled(@"disablePullToFull_enabled")) { | ||||
|         %init(gDisablePullToFull); | ||||
|     } | ||||
|     if (IsEnabled(@"disableEngagementOverlay_enabled")) { | ||||
|         %init(gDisableEngagementOverlay); | ||||
|     } | ||||
|  | ||||
|     // Change the default value of some options | ||||
|     NSArray *allKeys = [[[NSUserDefaults standardUserDefaults] dictionaryRepresentation] allKeys]; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Bryce Hackel
					Bryce Hackel