mirror of
https://github.com/YTLitePlus/YTLitePlus.git
synced 2026-05-07 16:49:51 +00:00
added hide separators
This commit is contained in:
parent
deaea09215
commit
6c7eadc19d
1 changed files with 16 additions and 0 deletions
|
|
@ -103,6 +103,14 @@ UIColor *customColor = [UIColor colorWithRed:0.129 green:0.129 blue:0.129 alpha:
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
%end
|
%end
|
||||||
|
|
||||||
|
// Hide separators
|
||||||
|
%hook YTCollectionSeparatorView
|
||||||
|
- (void)setHidden:(BOOL)arg1 {
|
||||||
|
%orig(YES);
|
||||||
|
}
|
||||||
|
%end
|
||||||
|
|
||||||
%hook YTPivotBarView
|
%hook YTPivotBarView
|
||||||
- (void)setBackgroundColor:(UIColor *)color {
|
- (void)setBackgroundColor:(UIColor *)color {
|
||||||
return isDarkMode() ? %orig(customColor) : %orig;
|
return isDarkMode() ? %orig(customColor) : %orig;
|
||||||
|
|
@ -485,6 +493,14 @@ UIColor* raisedColor = [UIColor blackColor];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
%end
|
%end
|
||||||
|
|
||||||
|
// Hide separators
|
||||||
|
%hook YTCollectionSeparatorView
|
||||||
|
- (void)setHidden:(BOOL)arg1 {
|
||||||
|
%orig(YES);
|
||||||
|
}
|
||||||
|
%end
|
||||||
|
|
||||||
%hook YTPivotBarView
|
%hook YTPivotBarView
|
||||||
- (void)setBackgroundColor:(UIColor *)color {
|
- (void)setBackgroundColor:(UIColor *)color {
|
||||||
return isDarkMode() ? %orig([UIColor blackColor]) : %orig;
|
return isDarkMode() ? %orig([UIColor blackColor]) : %orig;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue