Add new Option to be able to hide uYouPlus button!
This commit is contained in:
parent
9dd56d2ef4
commit
9fd5d99361
1 changed files with 4 additions and 1 deletions
|
|
@ -491,7 +491,7 @@ static NSString *accessGroupID() {
|
|||
}
|
||||
%end
|
||||
|
||||
# pragma mark - Hide Notification Button && SponsorBlock Button
|
||||
# pragma mark - Hide Notification Button && SponsorBlock Button && uYouPlus Button
|
||||
%hook YTRightNavigationButtons
|
||||
- (void)layoutSubviews {
|
||||
%orig;
|
||||
|
|
@ -501,6 +501,9 @@ static NSString *accessGroupID() {
|
|||
if (IS_ENABLED(@"hideSponsorBlockButton_enabled")) {
|
||||
self.sponsorBlockButton.hidden = YES;
|
||||
}
|
||||
if (IS_ENABLED(@"hideuYouPlusButton_enabled")) {
|
||||
self.uYouPlusButton.hidden = YES;
|
||||
}
|
||||
}
|
||||
%end
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue