Skip to content

Commit ab22dd7

Browse files
committed
Fix sensitive content warnings still showing when age bypass is on
1 parent 2ec7a14 commit ab22dd7

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

Tweak.x

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2413,6 +2413,12 @@ static void BHTHideHomeAddTabButton(id container) {
24132413
}
24142414
%end
24152415

2416+
%hook HFHealthSafetyFeature
2417+
+ (BOOL)isTweetMedialInterstitialEnabled:(id)featureSwitches {
2418+
return [BHTManager disableSensitiveTweetWarnings] ? false : %orig;
2419+
}
2420+
%end
2421+
24162422
// MARK: Tweet confirm
24172423
%hook T1TweetComposeViewController
24182424
- (void)_t1_didTapSendButton:(UIButton *)tweetButton {

0 commit comments

Comments
 (0)