From 36bf653b3df5ac5b6a291eb8958431ef249de65a Mon Sep 17 00:00:00 2001 From: arichornlover <78001398+arichornlover@users.noreply.github.com> Date: Wed, 26 Jun 2024 12:54:24 -0500 Subject: [PATCH] =?UTF-8?q?Disable=20=E2=80=9CYTShareRequestViewController?= =?UTF-8?q?=E2=80=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Sources/uYouPlusPatches.xm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Sources/uYouPlusPatches.xm b/Sources/uYouPlusPatches.xm index 37f3947..d68616a 100644 --- a/Sources/uYouPlusPatches.xm +++ b/Sources/uYouPlusPatches.xm @@ -148,12 +148,14 @@ static BOOL showNativeShareSheet(NSString *serializedShareEntity) { /* -------------------- iPad Layout -------------------- */ +/* %hook YTShareRequestViewController - (id)initWithService:(id)_service parentResponder:(id)_parentResponder { // disable the default share sheet behavior and force the app to call [YTAccountScopedCommandRouter handleCommand] return NULL; } %end +*/ %hook YTAccountScopedCommandRouter - (BOOL)handleCommand:(id)command entry:(id)_entry fromView:(id)_fromView sender:(id)_sender completionBlock:(id)_completionBlock {