this implementation is hard.

I’m sorry for multiple changed y’all, I keep changing how this works so it’ll hide the containers. I’m just not that good at this.
This commit is contained in:
arichornlover 2023-12-02 01:33:32 -06:00 committed by GitHub
parent 2251049401
commit 1d61542513
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1134,12 +1134,13 @@ if ([displayView isKindOfClass:NSClassFromString(@"_ASDisplayView")]) {
[accessibilityLabel isEqualToString:@"Thanks"] ||
[accessibilityIdentifier isEqualToString:@"id.ui.add_to.offline.button"] ||
[accessibilityLabel isEqualToString:@"Clip"] ||
[accessibilityLabel isEqualToString:@"Save to playlist"]) {
clearcolor = [UIColor clearColor];
}
%orig(clearcolor);
} else {
%orig(clearcolor);
[accessibilityLabel isEqualToString:@"Save to playlist"]) {clearcolor = [UIColor clearColor];
}
clearcolor = [UIColor clearColor];
}
%orig(clearcolor);
} else {
%orig(clearcolor);
}
%end
%end