error: %hook inside a %hook
This commit is contained in:
parent
1e4826c3ac
commit
3b073b64c4
1 changed files with 2 additions and 1 deletions
|
|
@ -186,7 +186,7 @@ BOOL areColorsEqual(UIColor *color1, UIColor *color2, CGFloat tolerance) {
|
|||
}
|
||||
%end
|
||||
|
||||
// Hide seperators
|
||||
// Hide separators
|
||||
@interface YTCollectionSeparatorView (HiddenProperty)
|
||||
@property (nonatomic, assign) BOOL hidden;
|
||||
@end
|
||||
|
|
@ -204,6 +204,7 @@ BOOL areColorsEqual(UIColor *color1, UIColor *color2, CGFloat tolerance) {
|
|||
- (UIColor *)backgroundColor:(NSInteger)pageStyle {
|
||||
return pageStyle == 1 ? [UIColor blackColor] : %orig;
|
||||
}
|
||||
%end
|
||||
|
||||
%hook YTHeaderViewController
|
||||
- (UIColor *)backgroundColor:(NSInteger)pageStyle {
|
||||
|
|
|
|||
Loading…
Reference in a new issue