From 1d61542513b45d01742f6137ae150ff75ea85780 Mon Sep 17 00:00:00 2001 From: arichornlover <78001398+arichorn@users.noreply.github.com> Date: Sat, 2 Dec 2023 01:33:32 -0600 Subject: [PATCH] this implementation is hard. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- uYouPlus.xm | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/uYouPlus.xm b/uYouPlus.xm index ca846d2..e0eb3f2 100644 --- a/uYouPlus.xm +++ b/uYouPlus.xm @@ -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