This commit is contained in:
Dan
2023-06-26 13:27:41 +03:00
committed by GitHub
parent 6ae48d6666
commit 1d9b9a7979
+7
View File
@@ -152,6 +152,13 @@ static BOOL oldDarkTheme() {
} }
%end %end
// Remove “Play next in queue” from the menu (@PoomSmart) - qnblackcat/uYouPlus#1138
%hook YTMenuItemVisibilityHandler
- (BOOL)shouldShowServiceItemRenderer:(YTIMenuConditionalServiceItemRenderer *)renderer {
return renderer.icon.iconType == 251 ? NO : %orig;
}
%end
# pragma mark - Tweaks # pragma mark - Tweaks
// IAmYouTube - https://github.com/PoomSmart/IAmYouTube/ // IAmYouTube - https://github.com/PoomSmart/IAmYouTube/
%hook YTVersionUtils %hook YTVersionUtils