fix uYou's buttons missing in Shorts

This commit is contained in:
Nguyễn Đạt
2022-12-26 13:23:57 +07:00
committed by GitHub
parent 6601022289
commit 9f4f453208
+5 -3
View File
@@ -127,8 +127,7 @@ static BOOL oldDarkTheme() {
%end %end
%hook YTReelContentView %hook YTReelContentView
- (void)didTapOverflowButton:(id)sender { - (void)didTapOverflowButton:(id)sender {}
}
%end %end
%hook NSLayoutConstraint %hook NSLayoutConstraint
@@ -450,7 +449,10 @@ static BOOL didFinishLaunching;
- (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)enableSwipeToRemoveInPlaylistWatchEp { return YES; } // Enable swipe right to remove video in Playlist. - (BOOL)enableSwipeToRemoveInPlaylistWatchEp { return YES; } // Enable swipe right to remove video in Playlist.
- (BOOL)iosEnableShortsPlayerSplitViewController { return NO; } // Fix uYou's button missing in Shorts %end
%hook YTHotConfig
- (BOOL)iosEnableShortsPlayerSplitViewController { return NO; } // Fix uYou's button missing in Shorts: qnblackcat/uYouPlus#800
%end %end
// NOYTPremium - https://github.com/PoomSmart/NoYTPremium/ // NOYTPremium - https://github.com/PoomSmart/NoYTPremium/