diff --git a/Sources/YTReExplore.x b/Sources/YTReExplore.x index 34f17c5..45c044b 100644 --- a/Sources/YTReExplore.x +++ b/Sources/YTReExplore.x @@ -35,6 +35,12 @@ static void replaceTab(YTIGuideResponse *response) { %orig(response, error, completion); } %end +%hook YTAppGuideServiceCoordinator +- (void)handleResponse:(YTIGuideResponse *)response error:(id)error completion:(id)completion { + replaceTab(response); + %orig; +} +%end %end %ctor {