From 861a9fd30b2a32e34af08122af72f8a0c3ed28e0 Mon Sep 17 00:00:00 2001 From: Bryce Hackel <34104885+bhackel@users.noreply.github.com> Date: Sun, 1 Sep 2024 12:27:07 -0700 Subject: [PATCH] Remove OLED live chat fix --- YTLitePlus.xm | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/YTLitePlus.xm b/YTLitePlus.xm index 4dd9a90..aa57691 100644 --- a/YTLitePlus.xm +++ b/YTLitePlus.xm @@ -586,16 +586,6 @@ BOOL isTabSelected = NO; [self setNeedsLayout]; [self removeFromSuperview]; } - - // Live chat OLED dark mode - @bhackel - CGFloat alpha; - if ([[%c(YTLUserDefaults) standardUserDefaults] boolForKey:@"oledTheme"] // YTLite OLED Theme - && [self.accessibilityIdentifier isEqualToString:@"eml.live_chat_text_message"] // Live chat text message - && [self.backgroundColor getWhite:nil alpha:&alpha] // Check if color is grayscale and get alpha - && alpha != 0.0) // Ignore shorts live chat - { - self.backgroundColor = [UIColor blackColor]; - } } %end