Skip to content

Commit

Permalink
Update Hiepvk.xm
Browse files Browse the repository at this point in the history
  • Loading branch information
hiepvk authored Jun 9, 2024
1 parent 411a4c3 commit 163f7b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Hiepvk.xm
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ NSData *cellDividerData;
}
if ([self respondsToSelector:@selector(hasCompatibilityOptions)] && self.hasCompatibilityOptions && self.compatibilityOptions.hasAdLoggingData && cellDividerData && IS_ENABLED(@"noAds_enabled")) return cellDividerData;
// if (isAdString(description)) return cellDividerData;
BOOL hasShorts = ([description containsString:@"shorts_shelf.eml"] || [description containsString:@"shorts_video_cell.eml"] || [description containsString:@"6Shorts"]) && (IS_ENABLED(@"un_shorts_enabled") && ![description containsString:@"history*"];
BOOL hasShorts = ([description containsString:@"shorts_shelf.eml"] || [description containsString:@"shorts_video_cell.eml"] || [description containsString:@"6Shorts"]) && (IS_ENABLED(@"un_shorts_enabled")) && ![description containsString:@"history*"];
BOOL hasShortsInHistory = [description containsString:@"compact_video.eml"] && [description containsString:@"youtube_shorts_"];

if ((hasShorts || hasShortsInHistory) && cellDividerData) return cellDividerData;
Expand Down

0 comments on commit 163f7b4

Please sign in to comment.