mirror of
https://github.com/arichornlover/uYouEnhanced.git
synced 2026-04-21 07:41:59 +00:00
fix #951
This commit is contained in:
parent
c26a4a660d
commit
ddec6377f3
1 changed files with 3 additions and 4 deletions
|
|
@ -958,10 +958,9 @@ void DEMC_centerRenderingView() {
|
||||||
}
|
}
|
||||||
%end
|
%end
|
||||||
|
|
||||||
%hook YTColdConfig
|
%hook YTShortsStartupCoordinator
|
||||||
- (BOOL)enableResumeToShorts {
|
- (id)evaluateResumeToShorts {
|
||||||
if (IsEnabled(@"disableResumeToShorts")) { return NO; }
|
return IsEnabled(@"disableResumeToShorts") ? nil : %orig;
|
||||||
else { return %orig; }
|
|
||||||
}
|
}
|
||||||
%end
|
%end
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue