Skip to content

Commit

Permalink
add option to hide timeline msg (premium offer)
Browse files Browse the repository at this point in the history
  • Loading branch information
haxibami committed Oct 14, 2024
1 parent 99eb394 commit 1149cce
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Tweak.x
Original file line number Diff line number Diff line change
Expand Up @@ -384,6 +384,12 @@ static void batchSwizzlingOnClass(Class cls, NSArray<NSString*>*origSelectors, I
return 0;
}
}

if ([BHTManager hidePremiumOffer]) {
if ([class_name isEqualToString:@"T1URTTimelineMessageItemViewModel"]) {
return 0;
}
}
}

return %orig;
Expand Down

0 comments on commit 1149cce

Please sign in to comment.