mirror of
https://github.com/revanced/revanced-integrations.git
synced 2024-06-02 11:26:18 +02:00
rename
This commit is contained in:
parent
fb0b21dbbc
commit
0c3a3400bc
|
@ -7,12 +7,12 @@ import app.revanced.integrations.youtube.shared.NavigationBar;
|
|||
import app.revanced.integrations.youtube.shared.PlayerType;
|
||||
|
||||
@SuppressWarnings("unused")
|
||||
public final class SuggestionsShelvesFilter extends Filter {
|
||||
public final class HorizontalShelvesFilter extends Filter {
|
||||
|
||||
public SuggestionsShelvesFilter() {
|
||||
public HorizontalShelvesFilter() {
|
||||
addPathCallbacks(
|
||||
new StringFilterGroup(
|
||||
Settings.HIDE_SUGGESTIONS_SHELVES,
|
||||
Settings.HIDE_HORIZONTAL_SHELVES,
|
||||
"horizontal_video_shelf.eml",
|
||||
"horizontal_shelf.eml"
|
||||
)
|
||||
|
@ -31,7 +31,7 @@ public final class SuggestionsShelvesFilter extends Filter {
|
|||
|
||||
private static boolean shouldHideShelves() {
|
||||
// Only filter if the library tab is not selected.
|
||||
// This check is important as the suggestion shelf layout is used for the library tab playlists.
|
||||
// This check is important as the shelf layout is used for the library tab playlists.
|
||||
return !NavigationBar.NavigationButton.libraryOrYouTabIsSelected()
|
||||
// But if the player is opened while library is selected,
|
||||
// then still filter any recommendations below the player.
|
|
@ -77,7 +77,7 @@ public class Settings extends BaseSettings {
|
|||
public static final BooleanSetting HIDE_ALBUM_CARDS = new BooleanSetting("revanced_hide_album_cards", FALSE, true);
|
||||
public static final BooleanSetting HIDE_ARTIST_CARDS = new BooleanSetting("revanced_hide_artist_cards", FALSE);
|
||||
public static final BooleanSetting HIDE_AUTOPLAY_BUTTON = new BooleanSetting("revanced_hide_autoplay_button", TRUE, true);
|
||||
public static final BooleanSetting HIDE_SUGGESTIONS_SHELVES = new BooleanSetting("revanced_hide_suggestions_shelves", TRUE);
|
||||
public static final BooleanSetting HIDE_HORIZONTAL_SHELVES = new BooleanSetting("revanced_hide_horizontal_shelves", TRUE);
|
||||
public static final BooleanSetting HIDE_CAPTIONS_BUTTON = new BooleanSetting("revanced_hide_captions_button", FALSE);
|
||||
public static final BooleanSetting HIDE_CAST_BUTTON = new BooleanSetting("revanced_hide_cast_button", TRUE, true);
|
||||
public static final BooleanSetting HIDE_CHANNEL_BAR = new BooleanSetting("revanced_hide_channel_bar", FALSE);
|
||||
|
|
Loading…
Reference in New Issue
Block a user