mirror of
https://github.com/arichornlover/uYouEnhanced.git
synced 2026-04-21 16:02:00 +00:00
Update uYouPlus.xm
This commit is contained in:
parent
4875974037
commit
44c56c3fdb
1 changed files with 5 additions and 3 deletions
|
|
@ -560,12 +560,14 @@ BOOL isAd(YTIElementRenderer *self) {
|
||||||
%end
|
%end
|
||||||
%hook YTFullscreenActionsView
|
%hook YTFullscreenActionsView
|
||||||
- (BOOL)enabled {
|
- (BOOL)enabled {
|
||||||
// Attempt 2
|
// Attempt 2
|
||||||
return IS_ENABLED(@"hideFullscreenActions_enabled") ? NO : %orig;
|
return IS_ENABLED(@"hideFullscreenActions_enabled") ? NO : %orig;
|
||||||
}
|
}
|
||||||
- (void)removeFromSuperview {
|
- (void)removeFromSuperview {
|
||||||
|
%orig;
|
||||||
|
// Attempt 3
|
||||||
if (IS_ENABLED(@"hideFullscreenActions_enabled")) {
|
if (IS_ENABLED(@"hideFullscreenActions_enabled")) {
|
||||||
[super removeFromSuperview];
|
[self removeFromSuperview];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
%end
|
%end
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue