Fix uYou player bar bug

This commit is contained in:
level3tjg
2022-08-28 02:02:18 -04:00
parent 11ddcd421d
commit 3aa7c57d82
2 changed files with 13 additions and 0 deletions
+9
View File
@@ -346,6 +346,15 @@ BOOL hidePaidPromotionCard() {
}
%end
// Prevent uYou player bar from showing when not playing downloaded media
%hook PlayerManager
- (void)pause {
if ([@([self progress]) isEqualToNumber:[NSDecimalNumber notANumber]])
return;
%orig;
}
%end
// Hide YouTube Shorts banner in Home page? - @MiRO92 - YTNoShorts: https://github.com/MiRO92/YTNoShorts
%hook YTAsyncCollectionView
- (id)cellForItemAtIndexPath:(NSIndexPath *)indexPath {