From 917b50da10a421dcce0a19eeb2ac5439de21242a Mon Sep 17 00:00:00 2001 From: Balackburn Date: Mon, 5 Feb 2024 13:47:29 +0100 Subject: [PATCH] Added "Hide Separators" in custom themes --- Source/Themes.xm | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/Source/Themes.xm b/Source/Themes.xm index 592df41..8c0e4c7 100644 --- a/Source/Themes.xm +++ b/Source/Themes.xm @@ -112,6 +112,13 @@ UIColor* raisedColor = [UIColor colorWithRed:0.035 green:0.035 blue:0.035 alpha: } %end +// Hide separators +%hook YTCollectionSeparatorView +- (void)setHidden:(BOOL)arg1 { + %orig(YES); +} +%end + // Explore %hook ASScrollView - (void)didMoveToWindow { @@ -355,6 +362,13 @@ UIColor *customHexColor; } %end +// Hide separators +%hook YTCollectionSeparatorView +- (void)setHidden:(BOOL)arg1 { + %orig(YES); +} +%end + // Explore %hook ASScrollView - (void)didMoveToWindow {