Update uYouPlus.xm

This commit is contained in:
aric3435 (INACTIVE) 2024-10-29 19:02:48 -05:00 committed by GitHub
parent 416dfec969
commit bc9446812b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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];
}
}