fix(YouTube - Hide Shorts components): Hide suggested actions in incognito mode

This commit is contained in:
LisoUseInAIKyrios 2024-04-16 06:43:40 +04:00
parent 8e36a018f4
commit bba421ddb6
1 changed files with 2 additions and 1 deletions

View File

@ -220,7 +220,8 @@ public final class ShortsFilter extends Filter {
}
if (matchedGroup == suggestedAction) {
if (contentIndex == 0 && suggestedActionsGroupList.check(protobufBufferArray).isFiltered()) {
// Suggested actions can be at the start or in the middle of a path.
if (suggestedActionsGroupList.check(protobufBufferArray).isFiltered()) {
return super.isFiltered(
identifier, path, protobufBufferArray, matchedGroup, contentType, contentIndex
);