mirror of
https://github.com/arichornlover/uYouEnhanced.git
synced 2026-04-25 20:03:05 +00:00
update YTShortsProgress
This commit is contained in:
parent
f560be0b66
commit
fc6132d261
1 changed files with 9 additions and 9 deletions
18
uYouPlus.xm
18
uYouPlus.xm
|
|
@ -270,7 +270,6 @@ BOOL dontEatMyContent() {
|
||||||
- (BOOL)respectDeviceCaptionSetting { return NO; } // YouRememberCaption: https://poomsmart.github.io/repo/depictions/youremembercaption.html
|
- (BOOL)respectDeviceCaptionSetting { return NO; } // YouRememberCaption: https://poomsmart.github.io/repo/depictions/youremembercaption.html
|
||||||
- (BOOL)isLandscapeEngagementPanelSwipeRightToDismissEnabled { return YES; } // Swipe right to dismiss the right panel in fullscreen mode
|
- (BOOL)isLandscapeEngagementPanelSwipeRightToDismissEnabled { return YES; } // Swipe right to dismiss the right panel in fullscreen mode
|
||||||
- (BOOL)mainAppCoreClientIosTransientVisualGlitchInPivotBarFix { return NO; } // Fix uYou's label glitching - qnblackcat/uYouPlus#552
|
- (BOOL)mainAppCoreClientIosTransientVisualGlitchInPivotBarFix { return NO; } // Fix uYou's label glitching - qnblackcat/uYouPlus#552
|
||||||
- (BOOL)uiSystemsClientGlobalConfigUseDarkerPaletteBgColorForNative { return NO; } // Fix OLED Darkmode not working sometimes - qnblackcat/uYouPlus#547
|
|
||||||
- (BOOL)enableSwipeToRemoveInPlaylistWatchEp { return YES; } // Enable swipe right to remove video in Playlist.
|
- (BOOL)enableSwipeToRemoveInPlaylistWatchEp { return YES; } // Enable swipe right to remove video in Playlist.
|
||||||
%end
|
%end
|
||||||
|
|
||||||
|
|
@ -314,10 +313,6 @@ BOOL dontEatMyContent() {
|
||||||
- (BOOL)shouldEnablePlayerBarOnlyOnPause { return NO; }
|
- (BOOL)shouldEnablePlayerBarOnlyOnPause { return NO; }
|
||||||
%end
|
%end
|
||||||
|
|
||||||
%hook YTInlinePlayerBarContainerView
|
|
||||||
- (void)setUserInteractionEnabled:(BOOL)enabled { %orig(YES); }
|
|
||||||
%end
|
|
||||||
|
|
||||||
%hook YTColdConfig
|
%hook YTColdConfig
|
||||||
- (BOOL)iosEnableVideoPlayerScrubber { return YES; }
|
- (BOOL)iosEnableVideoPlayerScrubber { return YES; }
|
||||||
- (BOOL)mobileShortsTabInlined { return YES; }
|
- (BOOL)mobileShortsTabInlined { return YES; }
|
||||||
|
|
@ -806,6 +801,11 @@ UIColor* raisedColor = [UIColor colorWithRed:0.035 green:0.035 blue:0.035 alpha:
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
%end
|
%end
|
||||||
|
|
||||||
|
// Incompatibility with the new YT Dark theme
|
||||||
|
%hook YTColdConfig
|
||||||
|
- (BOOL)uiSystemsClientGlobalConfigUseDarkerPaletteBgColorForNative { return NO; }
|
||||||
|
%end
|
||||||
%end
|
%end
|
||||||
|
|
||||||
# pragma mark - OLED keyboard by @ichitaso <3 - http://gist.github.com/ichitaso/935100fd53a26f18a9060f7195a1be0e
|
# pragma mark - OLED keyboard by @ichitaso <3 - http://gist.github.com/ichitaso/935100fd53a26f18a9060f7195a1be0e
|
||||||
|
|
@ -1107,15 +1107,15 @@ static BOOL didFinishLaunching;
|
||||||
%hook YTAppDelegate
|
%hook YTAppDelegate
|
||||||
- (BOOL)application:(UIApplication *)application
|
- (BOOL)application:(UIApplication *)application
|
||||||
didFinishLaunchingWithOptions:(NSDictionary<UIApplicationLaunchOptionsKey, id> *)launchOptions {
|
didFinishLaunchingWithOptions:(NSDictionary<UIApplicationLaunchOptionsKey, id> *)launchOptions {
|
||||||
didFinishLaunching = %orig;
|
didFinishLaunching = %orig;
|
||||||
self.downloadsVC = [self.downloadsVC init];
|
self.downloadsVC = [self.downloadsVC init];
|
||||||
return didFinishLaunching;
|
return didFinishLaunching;
|
||||||
}
|
}
|
||||||
%end
|
%end
|
||||||
|
|
||||||
%hook DownloadsPagerVC
|
%hook DownloadsPagerVC
|
||||||
- (instancetype)init {
|
- (instancetype)init {
|
||||||
return didFinishLaunching ? %orig : self;
|
return didFinishLaunching ? %orig : self;
|
||||||
}
|
}
|
||||||
%end
|
%end
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue