From 2a44b7c54da58ef45e6cdcbde1c9ede6728461e8 Mon Sep 17 00:00:00 2001 From: arichornlover <78001398+arichornlover@users.noreply.github.com> Date: Thu, 8 Feb 2024 18:44:33 -0600 Subject: [PATCH] Update uYouPlus.xm --- Sources/uYouPlus.xm | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/Sources/uYouPlus.xm b/Sources/uYouPlus.xm index c1e42ed..9e1bc08 100644 --- a/Sources/uYouPlus.xm +++ b/Sources/uYouPlus.xm @@ -952,23 +952,6 @@ static NSString *accessGroupID() { } %end -// YTCastConfirm: https://github.com/JamieBerghmans/YTCastConfirm -%hook MDXPlaybackRouteButtonController -- (void)didPressButton:(id)arg1 { - if (IS_ENABLED(@"castConfirm_enabled")) { - NSBundle *tweakBundle = uYouPlusBundle(); - YTAlertView *alertView = [%c(YTAlertView) confirmationDialogWithAction:^{ - %orig; - } actionTitle:LOC(@"MSG_YES")]; - alertView.title = LOC(@"CASTING"); - alertView.subtitle = LOC(@"MSG_ARE_YOU_SURE"); - [alertView show]; - } else { - return %orig; - } -} -%end - // %hook YTSectionListViewController // - (void)loadWithModel:(YTISectionListRenderer *)model { // NSMutableArray *contentsArray = model.contentsArray;