mirror of
https://github.com/revanced/revanced-integrations
synced 2025-04-16 01:01:11 +02:00
fix(YouTube - Hide Shorts components): Hide suggested actions in incognito mode
This commit is contained in:
parent
8e36a018f4
commit
bba421ddb6
@ -220,7 +220,8 @@ public final class ShortsFilter extends Filter {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (matchedGroup == suggestedAction) {
|
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(
|
return super.isFiltered(
|
||||||
identifier, path, protobufBufferArray, matchedGroup, contentType, contentIndex
|
identifier, path, protobufBufferArray, matchedGroup, contentType, contentIndex
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user