Skip to content

Commit 296c499

Browse files
feat(YouTube - Video description): Add Hide Shopping links
1 parent 7742ceb commit 296c499

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

extensions/youtube/src/main/java/app/revanced/extension/youtube/patches/components/DescriptionComponentsFilter.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,8 @@ boolean isFiltered(@Nullable String identifier, String path, byte[] protobufBuff
113113
return true;
114114
}
115115

116-
if (matchedGroup == expandableList) {
117-
if (shoppingLinks.check(protobufBufferArray).isFiltered()) {
116+
if (matchedGroup == expandableList) {
117+
if (shoppingLinks.check(protobufBufferArray).isFiltered()) {
118118
return super.isFiltered(identifier, path, protobufBufferArray, matchedGroup, contentType, contentIndex);
119119
}
120120
return false;

0 commit comments

Comments
 (0)