Skip to content
This repository was archived by the owner on Apr 13, 2025. It is now read-only.

Commit fc6132d

Browse files
committed
update YTShortsProgress
1 parent f560be0 commit fc6132d

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

uYouPlus.xm

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,6 @@ BOOL dontEatMyContent() {
270270
- (BOOL)respectDeviceCaptionSetting { return NO; } // YouRememberCaption: https://poomsmart.github.io/repo/depictions/youremembercaption.html
271271
- (BOOL)isLandscapeEngagementPanelSwipeRightToDismissEnabled { return YES; } // Swipe right to dismiss the right panel in fullscreen mode
272272
- (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
274273
- (BOOL)enableSwipeToRemoveInPlaylistWatchEp { return YES; } // Enable swipe right to remove video in Playlist.
275274
%end
276275

@@ -314,10 +313,6 @@ BOOL dontEatMyContent() {
314313
- (BOOL)shouldEnablePlayerBarOnlyOnPause { return NO; }
315314
%end
316315

317-
%hook YTInlinePlayerBarContainerView
318-
- (void)setUserInteractionEnabled:(BOOL)enabled { %orig(YES); }
319-
%end
320-
321316
%hook YTColdConfig
322317
- (BOOL)iosEnableVideoPlayerScrubber { return YES; }
323318
- (BOOL)mobileShortsTabInlined { return YES; }
@@ -806,6 +801,11 @@ UIColor* raisedColor = [UIColor colorWithRed:0.035 green:0.035 blue:0.035 alpha:
806801
}
807802
}
808803
%end
804+
805+
// Incompatibility with the new YT Dark theme
806+
%hook YTColdConfig
807+
- (BOOL)uiSystemsClientGlobalConfigUseDarkerPaletteBgColorForNative { return NO; }
808+
%end
809809
%end
810810

811811
# pragma mark - OLED keyboard by @ichitaso <3 - http://gist.github.com/ichitaso/935100fd53a26f18a9060f7195a1be0e
@@ -1107,15 +1107,15 @@ static BOOL didFinishLaunching;
11071107
%hook YTAppDelegate
11081108
- (BOOL)application:(UIApplication *)application
11091109
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;
11131113
}
11141114
%end
11151115

11161116
%hook DownloadsPagerVC
11171117
- (instancetype)init {
1118-
return didFinishLaunching ? %orig : self;
1118+
return didFinishLaunching ? %orig : self;
11191119
}
11201120
%end
11211121

0 commit comments

Comments
 (0)