diff --git a/uYouPlus.xm b/uYouPlus.xm index 569b88d..50d537b 100644 --- a/uYouPlus.xm +++ b/uYouPlus.xm @@ -86,11 +86,14 @@ BOOL ytMiniPlayer() { if (hideAutoplaySwitch()) {} else { return %orig; } } -- (void)layoutSubviews { +- (void)layoutSubviews { // hide Next & Previous button %orig; - if (hidePreviousAndNextButton()) { // hide Next & Previous button + if (hidePreviousAndNextButton()) { MSHookIvar(self, "_nextButton").hidden = YES; - MSHookIvar(self, "_previousButton").hidden = YES; + MSHookIvar(self, "_previousButton").hidden = YES; + // YouTube love beta testing :/ + MSHookIvar(self, "_nextButtonView").hidden = YES; + MSHookIvar(self, "_previousButtonView").hidden = YES; } } %end