From 0c9d855bc779fb3d66433d7b56a75ebfd71115fa Mon Sep 17 00:00:00 2001 From: arichornlover <78001398+arichorn@users.noreply.github.com> Date: Thu, 14 Dec 2023 22:57:04 -0600 Subject: [PATCH] fix spelling errors (LowContrastMode) --- Source/LowContrastMode.xm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/LowContrastMode.xm b/Source/LowContrastMode.xm index 87ce934..d23a2ac 100644 --- a/Source/LowContrastMode.xm +++ b/Source/LowContrastMode.xm @@ -302,8 +302,8 @@ UIColor *lcmHexColor; %end %hook YTRightNavigationButtons // iSponsorBlock - (NSMutableArray *)buttons { - NSMutableArray *buttons = %orig - UIImage *image = [UIImage imageWithContentsOfFile:[tweakBundle pathForResource:@"sponsorblocksettings-20@2x" ofType:@"png"]]; + 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];