mirror of
https://github.com/arichornlover/uYouEnhanced.git
synced 2026-04-19 18:12:06 +00:00
Remove screen fading effect
This commit is contained in:
parent
9c12fe2005
commit
0916c7d5d7
1 changed files with 6 additions and 0 deletions
|
|
@ -810,6 +810,12 @@ BOOL isAd(YTIElementRenderer *self) {
|
|||
- (CABasicAnimation *)laterBackgroundcolorAnimation {
|
||||
return [self uYouEnhancedGetBlankColorAnimation];
|
||||
}
|
||||
|
||||
- (void)layoutSubviews {
|
||||
%orig;
|
||||
// Set the 0th subview (which darkens the screen) to hidden
|
||||
self.subviews[0].hidden = YES;
|
||||
}
|
||||
%end
|
||||
%end
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue