@@ -270,7 +270,6 @@ BOOL dontEatMyContent() {
270
270
- (BOOL )respectDeviceCaptionSetting { return NO ; } // YouRememberCaption: https://poomsmart.github.io/repo/depictions/youremembercaption.html
271
271
- (BOOL )isLandscapeEngagementPanelSwipeRightToDismissEnabled { return YES ; } // Swipe right to dismiss the right panel in fullscreen mode
272
272
- (BOOL )mainAppCoreClientIosTransientVisualGlitchInPivotBarFix { return NO ; } // Fix uYou's label glitching - qnblackcat/uYouPlus#552
273
- - (BOOL )uiSystemsClientGlobalConfigUseDarkerPaletteBgColorForNative { return NO ; } // Fix OLED Darkmode not working sometimes - qnblackcat/uYouPlus#547
274
273
- (BOOL )enableSwipeToRemoveInPlaylistWatchEp { return YES ; } // Enable swipe right to remove video in Playlist.
275
274
%end
276
275
@@ -314,10 +313,6 @@ BOOL dontEatMyContent() {
314
313
- (BOOL )shouldEnablePlayerBarOnlyOnPause { return NO ; }
315
314
%end
316
315
317
- %hook YTInlinePlayerBarContainerView
318
- - (void )setUserInteractionEnabled:(BOOL )enabled { %orig (YES ); }
319
- %end
320
-
321
316
%hook YTColdConfig
322
317
- (BOOL )iosEnableVideoPlayerScrubber { return YES ; }
323
318
- (BOOL )mobileShortsTabInlined { return YES ; }
@@ -806,6 +801,11 @@ UIColor* raisedColor = [UIColor colorWithRed:0.035 green:0.035 blue:0.035 alpha:
806
801
}
807
802
}
808
803
%end
804
+
805
+ // Incompatibility with the new YT Dark theme
806
+ %hook YTColdConfig
807
+ - (BOOL )uiSystemsClientGlobalConfigUseDarkerPaletteBgColorForNative { return NO ; }
808
+ %end
809
809
%end
810
810
811
811
# pragma mark - OLED keyboard by @ichitaso <3 - http://gist.github.com/ichitaso/935100fd53a26f18a9060f7195a1be0e
@@ -1107,15 +1107,15 @@ static BOOL didFinishLaunching;
1107
1107
%hook YTAppDelegate
1108
1108
- (BOOL )application:(UIApplication *)application
1109
1109
didFinishLaunchingWithOptions:(NSDictionary <UIApplicationLaunchOptionsKey, id > *)launchOptions {
1110
- didFinishLaunching = %orig ;
1111
- self.downloadsVC = [self .downloadsVC init ];
1112
- return didFinishLaunching;
1110
+ didFinishLaunching = %orig ;
1111
+ self.downloadsVC = [self .downloadsVC init ];
1112
+ return didFinishLaunching;
1113
1113
}
1114
1114
%end
1115
1115
1116
1116
%hook DownloadsPagerVC
1117
1117
- (instancetype )init {
1118
- return didFinishLaunching ? %orig : self;
1118
+ return didFinishLaunching ? %orig : self;
1119
1119
}
1120
1120
%end
1121
1121
0 commit comments