mirror of
https://github.com/arichornlover/uYouEnhanced.git
synced 2026-03-28 17:28:44 +00:00
Remove uYou download button in playlists
This commit is contained in:
parent
0db45c7ce7
commit
25c0cbd9c0
1 changed files with 10 additions and 0 deletions
10
uYouPlus.xm
10
uYouPlus.xm
|
|
@ -216,6 +216,16 @@ static BOOL didFinishLaunching;
|
|||
}
|
||||
%end
|
||||
|
||||
// Remove uYou download button in playlists
|
||||
// https://github.com/qnblackcat/uYouPlus/issues/798#issuecomment-1364853420
|
||||
%hook YTPlaylistHeaderViewController
|
||||
- (id)downloadsButton {
|
||||
UIView *button = %orig;
|
||||
button.hidden = true;
|
||||
return button;
|
||||
}
|
||||
%end
|
||||
|
||||
# pragma mark - YouTube's patches
|
||||
// Workaround for MiRO92/uYou-for-YouTube#12, qnblackcat/uYouPlus#263
|
||||
%hook YTDataUtils
|
||||
|
|
|
|||
Loading…
Reference in a new issue