modded scinsta with additional features and fixes for recent instagram version

This commit is contained in:
faroukbmiled
2026-03-29 00:01:05 +01:00
commit 3d133ac333
105 changed files with 11916 additions and 0 deletions
+33
View File
@@ -0,0 +1,33 @@
#import "../../Utils.h"
%hook IGDirectNotesTrayRowCell
- (id)listAdapterObjects {
NSArray *originalObjs = %orig();
NSMutableArray *filteredObjs = [NSMutableArray arrayWithCapacity:[originalObjs count]];
for (id obj in originalObjs) {
BOOL shouldHide = NO;
if ([SCIUtils getBoolPref:@"hide_friends_map"]) {
if ([obj isKindOfClass:%c(IGDirectNotesTrayUserViewModel)]) {
if ([[obj valueForKey:@"notePk"] isEqualToString:@"friends_map"]) {
NSLog(@"[SCInsta] Hiding friends map");
shouldHide = YES;
}
}
}
// Populate new objs array
if (!shouldHide) {
[filteredObjs addObject:obj];
}
}
return [filteredObjs copy];
}
%end