mirror of
https://github.com/revanced/revanced-integrations.git
synced 2024-06-02 11:26:18 +02:00
fix: Filter search if the library tab is open
This commit is contained in:
parent
a7814f1f2e
commit
1733328480
|
@ -35,6 +35,8 @@ public final class SuggestionsShelfFilter extends Filter {
|
|||
return !NavigationBar.NavigationButton.libraryOrYouTabIsSelected()
|
||||
// But if the player is opened while library is selected,
|
||||
// then still filter any recommendations below the player.
|
||||
|| PlayerType.getCurrent().isMaximizedOrFullscreen();
|
||||
|| PlayerType.getCurrent().isMaximizedOrFullscreen()
|
||||
// Or if the search is active while library is selected, then also filter.
|
||||
|| NavigationBar.isSearchBarActive();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user