Skip to content

Commit

Permalink
feat: update hide story tray functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
SoCuul committed Sep 27, 2024
1 parent 44ade45 commit c5369b9
Showing 1 changed file with 0 additions and 25 deletions.
25 changes: 0 additions & 25 deletions src/Features/Feed/HideStoryTray.x
Original file line number Diff line number Diff line change
Expand Up @@ -12,29 +12,4 @@

return %orig;
}
%end

// Hide story tray (above feed)
%hook IGStoryTraySectionController
- (id)initWithUserSession:(id)arg1
dataController:(id)arg2
dataSource:(id)arg3
loggingContext:(id)arg4
entryPoint:(NSInteger)arg5
traySectionConfiguration:(id)arg6
storyViewerConfiguration:(id)arg7
netegoImpressionStrategy:(id)arg8
isImmersiveNetego:(BOOL)arg9
isForcedDarkModeImmersiveNetEgo:(BOOL)arg10
immersiveAccessibilityExpanded:(BOOL)arg11
supportsVerticalTray:(BOOL)arg12
{
if ([SCIManager getPref:@"hide_stories_tray"]) {
NSLog(@"[SCInsta] Hiding story tray");

return nil;
}

return %orig;
}
%end

0 comments on commit c5369b9

Please sign in to comment.