fix(YouTube - Hide layout components): Remove obsolete 'Hide gray separator'

This commit is contained in:
LisoUseInAIKyrios 2024-10-28 05:39:30 -04:00 committed by oSumAtrIX
parent 053ebe34f0
commit a697701c5f
No known key found for this signature in database
GPG Key ID: A9B3094ACDB604B4
4 changed files with 0 additions and 11 deletions

View File

@ -61,18 +61,12 @@ public final class LayoutComponentsFilter extends Filter {
// Identifiers.
final var graySeparator = new StringFilterGroup(
Settings.HIDE_GRAY_SEPARATOR,
"cell_divider" // layout residue (gray line above the buttoned ad),
);
final var chipsShelf = new StringFilterGroup(
Settings.HIDE_CHIPS_SHELF,
"chips_shelf"
);
addIdentifierCallbacks(
graySeparator,
chipsShelf
);

View File

@ -96,7 +96,6 @@ public class Settings extends BaseSettings {
public static final BooleanSetting HIDE_FILTER_BAR_FEED_IN_SEARCH = new BooleanSetting("revanced_hide_filter_bar_feed_in_search", FALSE, true);
public static final BooleanSetting HIDE_FLOATING_MICROPHONE_BUTTON = new BooleanSetting("revanced_hide_floating_microphone_button", TRUE, true);
public static final BooleanSetting HIDE_FULLSCREEN_PANELS = new BooleanSetting("revanced_hide_fullscreen_panels", TRUE, true);
public static final BooleanSetting HIDE_GRAY_SEPARATOR = new BooleanSetting("revanced_hide_gray_separator", TRUE);
public static final BooleanSetting HIDE_HIDE_CHANNEL_GUIDELINES = new BooleanSetting("revanced_hide_channel_guidelines", TRUE);
public static final BooleanSetting HIDE_HIDE_INFO_PANELS = new BooleanSetting("revanced_hide_info_panels", TRUE);
public static final BooleanSetting HIDE_IMAGE_SHELF = new BooleanSetting("revanced_hide_image_shelf", TRUE);

View File

@ -233,7 +233,6 @@ val hideLayoutComponentsPatch = bytecodePatch(
)
PreferenceScreen.GENERAL_LAYOUT.addPreferences(
SwitchPreference("revanced_hide_gray_separator"),
PreferenceScreenPreference(
key = "revanced_custom_filter_screen",
sorting = PreferenceScreenPreference.Sorting.UNSORTED,

View File

@ -121,9 +121,6 @@ This is because Crowdin requires temporarily flattening this file and removing t
<string name="revanced_hide_floating_microphone_button_title">Hide floating microphone button</string>
<string name="revanced_hide_floating_microphone_button_summary_on">Microphone button hidden</string>
<string name="revanced_hide_floating_microphone_button_summary_off">Microphone button shown</string>
<string name="revanced_hide_gray_separator_title">Hide gray separator</string>
<string name="revanced_hide_gray_separator_summary_on">Gray separators are hidden</string>
<string name="revanced_hide_gray_separator_summary_off">Gray separators are shown</string>
<string name="revanced_hide_channel_watermark_title">Hide channel watermark</string>
<string name="revanced_hide_channel_watermark_summary_on">Watermark is hidden</string>
<string name="revanced_hide_channel_watermark_summary_off">Watermark is shown</string>