mirror of
https://github.com/arichornlover/uYouEnhanced.git
synced 2026-04-20 15:02:08 +00:00
Added Hide Header Links under Channel Profile Option
Option was made by arichorn Option was based off of Dayanch96’s YTLite
This commit is contained in:
parent
d461c3ef89
commit
3d2310589a
1 changed files with 9 additions and 0 deletions
|
|
@ -736,6 +736,15 @@ static void replaceTab(YTIGuideResponse *response) {
|
|||
self.hidden = YES;
|
||||
}
|
||||
|
||||
// Hide Header Links under Channel Profile - @arichorn
|
||||
if ((IsEnabled(@"hideChannelHeaderLinks_enabled")) && ([self.accessibilityIdentifier isEqualToString:@"eml.channel_header_links"])) {
|
||||
self.hidden = YES;
|
||||
self.opaque = YES;
|
||||
self.userInteractionEnabled = NO;
|
||||
[self setNeedsLayout];
|
||||
[self layoutIfNeeded];
|
||||
}
|
||||
|
||||
// Hide the Download Button under the Video Player - @arichorn
|
||||
if ((IsEnabled(@"hideAddToOfflineButton_enabled")) && ([self.accessibilityIdentifier isEqualToString:@"id.ui.add_to_offline.button"])) {
|
||||
self.hidden = YES;
|
||||
|
|
|
|||
Loading…
Reference in a new issue