Skip to content

Commit

Permalink
feat(YouTube - Hide layout components): Hide playables
Browse files Browse the repository at this point in the history
  • Loading branch information
oSumAtrIX committed Apr 14, 2024
1 parent 5b4fd77 commit d6cd550
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
Expand Up @@ -177,6 +177,11 @@ public LayoutComponentsFilter() {
"fullscreen_related_videos"
);

final var playables = new StringFilterGroup(
Settings.HIDE_PLAYABLES,
"horizontal_gaming_shelf.eml"
);

final var quickActions = new StringFilterGroup(
Settings.HIDE_QUICK_ACTIONS,
"quick_actions"
Expand Down Expand Up @@ -256,6 +261,7 @@ public LayoutComponentsFilter() {
latestPosts,
channelWatermark,
communityGuidelines,
playables,
quickActions,
relatedVideos,
compactBanner,
Expand Down
Expand Up @@ -117,6 +117,7 @@ public class Settings extends BaseSettings {
public static final BooleanSetting HIDE_NOTIFY_ME_BUTTON = new BooleanSetting("revanced_hide_notify_me_button", TRUE);
public static final BooleanSetting HIDE_PLAYER_BUTTONS = new BooleanSetting("revanced_hide_player_buttons", FALSE);
public static final BooleanSetting HIDE_PREVIEW_COMMENT = new BooleanSetting("revanced_hide_preview_comment", FALSE, true);
public static final BooleanSetting HIDE_PLAYABLES = new BooleanSetting("revanced_hide_quick_actions", TRUE);

This comment has been minimized.

Copy link
@MarcaDian

MarcaDian Apr 14, 2024

Contributor

Here duplicate revanced_hide_quick_actions

public static final BooleanSetting HIDE_QUICK_ACTIONS = new BooleanSetting("revanced_hide_quick_actions", FALSE);
public static final BooleanSetting HIDE_RELATED_VIDEOS = new BooleanSetting("revanced_hide_related_videos", FALSE);
public static final BooleanSetting HIDE_SEARCH_RESULT_SHELF_HEADER = new BooleanSetting("revanced_hide_search_result_shelf_header", FALSE);
Expand Down

0 comments on commit d6cd550

Please sign in to comment.