From 282b3d27f2dafac2bc4f9b189979e311a3efd241 Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 26 Jul 2026 14:08:08 +0000 Subject: [PATCH] fix: use bare %orig inside confirmation block in ReelsPlayback Newer Logos versions reject `%orig(arg1, arg2)` with explicit arguments when it appears inside a block, failing with: error: Invalid argument structure in %orig This broke the IPA/tweak build in GitHub Actions. Bare `%orig` forwards the original method arguments automatically, so it is equivalent here and matches the pattern already used for every other confirmation block in the codebase (Confirm/*, Tweak.x). Co-Authored-By: Claude Opus 4.8 Claude-Session: https://claude.ai/code/session_01KP6Txnj2YknANndXGjgTwW --- src/Features/Reels/ReelsPlayback.xm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Features/Reels/ReelsPlayback.xm b/src/Features/Reels/ReelsPlayback.xm index 9919ddb2..15fab570 100644 --- a/src/Features/Reels/ReelsPlayback.xm +++ b/src/Features/Reels/ReelsPlayback.xm @@ -40,7 +40,7 @@ if ([SCIUtils getBoolPref:@"refresh_reel_confirm"]) { NSLog(@"[SCInsta] Reel refresh triggered"); - [SCIUtils showConfirmation:^(void) { %orig(arg1, arg2); } + [SCIUtils showConfirmation:^(void) { %orig; } cancelHandler:^(void) { IGRefreshControl *_refreshControl = MSHookIvar(self, "_refreshControl"); [self refreshControlDidEndFinishLoadingAnimation:_refreshControl];