mirror of
https://github.com/arichornlover/uYouEnhanced.git
synced 2026-03-11 21:26:04 +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
|
||||
|
||||
%hook YTColdConfig
|
||||
- (BOOL)enableResumeToShorts {
|
||||
if (IsEnabled(@"disableResumeToShorts")) { return NO; }
|
||||
else { return %orig; }
|
||||
%hook YTShortsStartupCoordinator
|
||||
- (id)evaluateResumeToShorts {
|
||||
return IsEnabled(@"disableResumeToShorts") ? nil : %orig;
|
||||
}
|
||||
%end
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue