mirror of
https://github.com/arichornlover/uYouEnhanced.git
synced 2026-04-14 09:10:25 +00:00
use didMoveToWindow
This commit is contained in:
parent
4c7b3c42bd
commit
b95f0874ba
1 changed files with 1 additions and 1 deletions
|
|
@ -157,7 +157,7 @@ NSBundle *tweakBundle = uYouPlusBundle();
|
|||
|
||||
// Hide iSponsorBlock
|
||||
%hook YTRightNavigationButtons
|
||||
- (void)layoutSubviews {
|
||||
- (void)didMoveToWindow {
|
||||
%orig;
|
||||
if (IS_ENABLED(@"hideiSponsorBlockButton_enabled"))
|
||||
self.sponsorBlockButton.hidden = YES;
|
||||
|
|
|
|||
Loading…
Reference in a new issue