Skip to content

Commit c5369b9

Browse files
committed
feat: update hide story tray functionality
1 parent 44ade45 commit c5369b9

File tree

1 file changed

+0
-25
lines changed

1 file changed

+0
-25
lines changed

src/Features/Feed/HideStoryTray.x

-25
Original file line numberDiff line numberDiff line change
@@ -12,29 +12,4 @@
1212

1313
return %orig;
1414
}
15-
%end
16-
17-
// Hide story tray (above feed)
18-
%hook IGStoryTraySectionController
19-
- (id)initWithUserSession:(id)arg1
20-
dataController:(id)arg2
21-
dataSource:(id)arg3
22-
loggingContext:(id)arg4
23-
entryPoint:(NSInteger)arg5
24-
traySectionConfiguration:(id)arg6
25-
storyViewerConfiguration:(id)arg7
26-
netegoImpressionStrategy:(id)arg8
27-
isImmersiveNetego:(BOOL)arg9
28-
isForcedDarkModeImmersiveNetEgo:(BOOL)arg10
29-
immersiveAccessibilityExpanded:(BOOL)arg11
30-
supportsVerticalTray:(BOOL)arg12
31-
{
32-
if ([SCIManager getPref:@"hide_stories_tray"]) {
33-
NSLog(@"[SCInsta] Hiding story tray");
34-
35-
return nil;
36-
}
37-
38-
return %orig;
39-
}
4015
%end

0 commit comments

Comments
 (0)