feat(YouTube - Hide layout components): Add "Hide Hype points" (#6230)
This commit is contained in:
parent
cd9ef81354
commit
a52c0153b1
4 changed files with 11 additions and 0 deletions
|
|
@ -63,6 +63,11 @@ final class DescriptionComponentsFilter extends Filter {
|
|||
"how_this_was_made_section"
|
||||
);
|
||||
|
||||
final StringFilterGroup hypePoints = new StringFilterGroup(
|
||||
Settings.HIDE_HYPE_POINTS,
|
||||
"hype_points_factoid"
|
||||
);
|
||||
|
||||
macroMarkersCarousel = new StringFilterGroup(
|
||||
null,
|
||||
"macro_markers_carousel.e"
|
||||
|
|
@ -96,6 +101,7 @@ final class DescriptionComponentsFilter extends Filter {
|
|||
infoCardsSection,
|
||||
horizontalShelf,
|
||||
howThisWasMadeSection,
|
||||
hypePoints,
|
||||
macroMarkersCarousel,
|
||||
podcastSection,
|
||||
transcriptSection
|
||||
|
|
|
|||
|
|
@ -211,6 +211,7 @@ public class Settings extends BaseSettings {
|
|||
public static final BooleanSetting HIDE_ATTRIBUTES_SECTION = new BooleanSetting("revanced_hide_attributes_section", FALSE);
|
||||
public static final BooleanSetting HIDE_CHAPTERS_SECTION = new BooleanSetting("revanced_hide_chapters_section", TRUE);
|
||||
public static final BooleanSetting HIDE_HOW_THIS_WAS_MADE_SECTION = new BooleanSetting("revanced_hide_how_this_was_made_section", FALSE);
|
||||
public static final BooleanSetting HIDE_HYPE_POINTS = new BooleanSetting("revanced_hide_hype_points", FALSE);
|
||||
public static final BooleanSetting HIDE_INFO_CARDS_SECTION = new BooleanSetting("revanced_hide_info_cards_section", TRUE);
|
||||
public static final BooleanSetting HIDE_KEY_CONCEPTS_SECTION = new BooleanSetting("revanced_hide_key_concepts_section", FALSE);
|
||||
public static final BooleanSetting HIDE_PODCAST_SECTION = new BooleanSetting("revanced_hide_podcast_section", TRUE);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue