From bc9446812bb3bdb0a98acb02e7e5ac05b63743ff Mon Sep 17 00:00:00 2001 From: "aric3435 (INACTIVE)" <78001398+arichornlover@users.noreply.github.com> Date: Tue, 29 Oct 2024 19:02:48 -0500 Subject: [PATCH] Update uYouPlus.xm --- Sources/uYouPlus.xm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Sources/uYouPlus.xm b/Sources/uYouPlus.xm index 22e2ba7edc..a74042a0a0 100644 --- a/Sources/uYouPlus.xm +++ b/Sources/uYouPlus.xm @@ -1479,10 +1479,10 @@ static int contrastMode() { // Red Subscribe Button - 17.33.2 and up - @arichornlover %hook ELMContainerNode -- (void)setBackgroundColor:(id)color { +- (void)setBackgroundColor:(UIColor *)color { NSString *description = [self description]; - if (IS_ENABLED(kRedSubscribeButton)) { - if ([description containsString:@"eml.compact_subscribe_button"]) { + if ([description containsString:@"eml.compact_subscribe_button"]) { + if (IS_ENABLED(@"kRedSubscribeButton")) { color = [UIColor redColor]; } }