Skip to content

Commit

Permalink
Update uYouPlus.xm
Browse files Browse the repository at this point in the history
  • Loading branch information
arichornlover authored Oct 30, 2024
1 parent 416dfec commit bc94468
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Sources/uYouPlus.xm
Original file line number Diff line number Diff line change
Expand Up @@ -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];
}
}
Expand Down

0 comments on commit bc94468

Please sign in to comment.