This commit is contained in:
+8
-1
@@ -133,7 +133,7 @@ static BOOL oldDarkTheme() {
|
|||||||
}
|
}
|
||||||
%new
|
%new
|
||||||
- (void)removeShortsAndFeaturesAdsAtIndexPath:(NSIndexPath *)indexPath {
|
- (void)removeShortsAndFeaturesAdsAtIndexPath:(NSIndexPath *)indexPath {
|
||||||
[self deleteItemsAtIndexPaths:[NSArray arrayWithObject:indexPath]];
|
[self deleteItemsAtIndexPaths:[NSArray arrayWithObject:indexPath]];
|
||||||
}
|
}
|
||||||
%end
|
%end
|
||||||
|
|
||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user