This commit is contained in:
qnblackcat 2023-02-22 08:56:53 +07:00
parent c26a4a660d
commit ddec6377f3

View file

@ -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