1
mirror of https://github.com/revanced/revanced-integrations synced 2024-11-22 05:02:19 +01:00

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

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
);