mirror of
https://github.com/revanced/revanced-integrations.git
synced 2024-11-14 07:59:27 +01:00
fix: Do not always hide the component
This commit is contained in:
parent
25f73eb3a9
commit
3d0fc1d610
@ -211,7 +211,8 @@ public final class LayoutComponentsFilter extends Filter {
|
||||
if (matchedGroup != custom && exceptions.matches(path))
|
||||
return false; // Exceptions are not filtered.
|
||||
|
||||
if (matchedGroup == searchResultShelfHeader && matchedIndex == 0) return true;
|
||||
// TODO: This also hides the feed Shorts shelf header
|
||||
if (matchedGroup == searchResultShelfHeader && matchedIndex != 0) return false;
|
||||
|
||||
return super.isFiltered(identifier, path, protobufBufferArray, matchedList, matchedGroup, matchedIndex);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user