mirror of
https://github.com/SoPat712/YTLitePlus.git
synced 2025-08-22 02:58:45 -04:00
hiding broken YTCinematicContainerView
This commit is contained in:
@@ -91,6 +91,12 @@ BOOL areColorsEqual(UIColor *color1, UIColor *color2, CGFloat tolerance) {
|
|||||||
}
|
}
|
||||||
%end
|
%end
|
||||||
|
|
||||||
|
%hook YTCinematicContainerView
|
||||||
|
- (void)setHidden:(BOOL)arg1 {
|
||||||
|
%orig(YES);
|
||||||
|
}
|
||||||
|
%end
|
||||||
|
|
||||||
%hook YTCollectionViewController
|
%hook YTCollectionViewController
|
||||||
- (UIColor *)backgroundColor:(NSInteger)pageStyle {
|
- (UIColor *)backgroundColor:(NSInteger)pageStyle {
|
||||||
return pageStyle == 1 ? customColor : %orig;
|
return pageStyle == 1 ? customColor : %orig;
|
||||||
@@ -432,12 +438,9 @@ UIColor* raisedColor = [UIColor blackColor];
|
|||||||
|
|
||||||
// Hide separators
|
// Hide separators
|
||||||
%hook YTCollectionSeparatorView
|
%hook YTCollectionSeparatorView
|
||||||
%property (nonatomic, assign, setter=setHidden:) BOOL hidden;
|
- (void)setHidden:(BOOL)arg1 {
|
||||||
|
%orig(YES);
|
||||||
- (void)setHidden:(BOOL)hidden {
|
|
||||||
%orig(hidden);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
%end
|
%end
|
||||||
|
|
||||||
%hook YTELMView
|
%hook YTELMView
|
||||||
|
Reference in New Issue
Block a user