This commit is contained in:
qnblackcat
2023-02-22 08:56:53 +07:00
parent c26a4a660d
commit ddec6377f3
+3 -4
View File
@@ -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