From f954b1504d45e4b9f142e06435dab894f84ca6fc Mon Sep 17 00:00:00 2001 From: arichornlover <78001398+arichorn@users.noreply.github.com> Date: Fri, 15 Dec 2023 01:55:30 -0600 Subject: [PATCH] Update LowContrastMode.xm --- Source/LowContrastMode.xm | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/Source/LowContrastMode.xm b/Source/LowContrastMode.xm index d23a2ac..a25d579 100644 --- a/Source/LowContrastMode.xm +++ b/Source/LowContrastMode.xm @@ -300,19 +300,6 @@ UIColor *lcmHexColor; %orig([UIColor whiteColor]); } %end -%hook YTRightNavigationButtons // iSponsorBlock -- (NSMutableArray *)buttons { - NSMutableArray *buttons = %orig; - UIImage *image = [UIImage imageWithContentsOfFile:[[NSBundle mainBundle] pathForResource:@"sponsorblocksettings-20@2x" ofType:@"png"]]; - image = [image imageWithTintColor:[UIColor whiteColor] renderingMode:UIImageRenderingModeAlwaysTemplate]; - if (buttons.count > 0) { - UIButton *sponsorBlockButton = buttons[0]; - [sponsorBlockButton setImage:image forState:UIControlStateNormal]; - [sponsorBlockButton setTintColor:[UIColor whiteColor]]; - } - return buttons; -} -%end %end /*