mirror of
https://github.com/SoPat712/YTLitePlus.git
synced 2025-08-21 18:48:45 -04:00
error: %hook inside a %hook
This commit is contained in:
@@ -186,7 +186,7 @@ BOOL areColorsEqual(UIColor *color1, UIColor *color2, CGFloat tolerance) {
|
|||||||
}
|
}
|
||||||
%end
|
%end
|
||||||
|
|
||||||
// Hide seperators
|
// Hide separators
|
||||||
@interface YTCollectionSeparatorView (HiddenProperty)
|
@interface YTCollectionSeparatorView (HiddenProperty)
|
||||||
@property (nonatomic, assign) BOOL hidden;
|
@property (nonatomic, assign) BOOL hidden;
|
||||||
@end
|
@end
|
||||||
@@ -204,6 +204,7 @@ BOOL areColorsEqual(UIColor *color1, UIColor *color2, CGFloat tolerance) {
|
|||||||
- (UIColor *)backgroundColor:(NSInteger)pageStyle {
|
- (UIColor *)backgroundColor:(NSInteger)pageStyle {
|
||||||
return pageStyle == 1 ? [UIColor blackColor] : %orig;
|
return pageStyle == 1 ? [UIColor blackColor] : %orig;
|
||||||
}
|
}
|
||||||
|
%end
|
||||||
|
|
||||||
%hook YTHeaderViewController
|
%hook YTHeaderViewController
|
||||||
- (UIColor *)backgroundColor:(NSInteger)pageStyle {
|
- (UIColor *)backgroundColor:(NSInteger)pageStyle {
|
||||||
|
Reference in New Issue
Block a user