From f64aab1b586f17cebab545ba2826735e0300ba73 Mon Sep 17 00:00:00 2001 From: Bryce Hackel <34104885+bhackel@users.noreply.github.com> Date: Sat, 10 Aug 2024 02:19:23 -0700 Subject: [PATCH] Fix build error --- YTLitePlus.xm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/YTLitePlus.xm b/YTLitePlus.xm index 74c36b3..a799e20 100644 --- a/YTLitePlus.xm +++ b/YTLitePlus.xm @@ -558,7 +558,7 @@ BOOL isTabSelected = NO; [self removeFromSuperview]; } // Live chat OLED dark mode - @bhackel - if (([[YTLUserDefaults standardUserDefaults] boolForKey:@"oledTheme"] // YTLite OLED Theme + if (([[%c(YTLUserDefaults) standardUserDefaults] boolForKey:@"oledTheme"] // YTLite OLED Theme || [[NSUserDefaults standardUserDefaults] integerForKey:@"appTheme"] == 1 // YTLitePlus OLED Theme ) && [self.accessibilityIdentifier isEqualToString:@"eml.live_chat_text_message"]) { self.backgroundColor = [UIColor blackColor];