mirror of
https://github.com/arichornlover/uYouEnhanced.git
synced 2026-04-20 06:42:10 +00:00
New Option Hide Button Containers
you can now hide the containers in the buttons 😎
Some of y’all requested this and it’s now implemented to uYouPlusExtra!
This commit is contained in:
parent
8d03828478
commit
1dca562a22
1 changed files with 13 additions and 0 deletions
13
uYouPlus.xm
13
uYouPlus.xm
|
|
@ -1078,6 +1078,16 @@ static void replaceTab(YTIGuideResponse *response) {
|
|||
}
|
||||
%end
|
||||
|
||||
// Hide the Button Containers under the Video Player - 17.x.x and up - @arichorn
|
||||
%group gHideButtonContainers
|
||||
%hook ELMContainerNode
|
||||
- (void)setBackgroundColor:(id)color {
|
||||
color = [UIColor clearColor];
|
||||
%orig(color);
|
||||
}
|
||||
%end
|
||||
%end
|
||||
|
||||
// Hide the (Remix / Thanks / Download / Clip / Save) Buttons under the Video Player - 17.x.x and up - @arichorn
|
||||
%hook _ASDisplayView
|
||||
- (void)layoutSubviews {
|
||||
|
|
@ -1459,6 +1469,9 @@ static void replaceTab(YTIGuideResponse *response) {
|
|||
if (IsEnabled(@"hideVideoPlayerShadowOverlayButtons_enabled")) {
|
||||
%init(gHideVideoPlayerShadowOverlayButtons);
|
||||
}
|
||||
if (IsEnabled(@"hideButtonContainers_enabled")) {
|
||||
%init(gHideButtonContainers);
|
||||
}
|
||||
if (IsEnabled(@"disableHints_enabled")) {
|
||||
%init(gDisableHints);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue