mirror of
https://github.com/inotia00/revanced-patches.git
synced 2025-05-02 15:44:37 +02:00
fix(YouTube - Hide feed components): Hide carousel shelf
not hiding in home feed in certain situations
This commit is contained in:
parent
831d2a1e76
commit
d97447f7a8
@ -68,6 +68,10 @@ public final class CarouselShelfFilter extends Filter {
|
||||
if (selectedNavButton == null) {
|
||||
return true;
|
||||
}
|
||||
// Fixes a very rare bug in home.
|
||||
if (selectedNavButton == NavigationButton.HOME && browseId.equals(BROWSE_ID_NOTIFICATION_INBOX)) {
|
||||
return true;
|
||||
}
|
||||
return knownBrowseId.get().anyMatch(browseId::equals) || whitelistBrowseId.get().noneMatch(browseId::equals);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user