refactor(YouTube - Hide Shorts components): Rename 'Hide comment panel' to 'Hide preview comment'
This commit is contained in:
@ -218,7 +218,7 @@ public final class ShortsFilter extends Filter {
|
|||||||
//
|
//
|
||||||
suggestedActionsGroupList.addAll(
|
suggestedActionsGroupList.addAll(
|
||||||
new ByteArrayFilterGroup(
|
new ByteArrayFilterGroup(
|
||||||
Settings.HIDE_SHORTS_COMMENT_PANEL,
|
Settings.HIDE_SHORTS_PREVIEW_COMMENT,
|
||||||
// Preview comment that can popup while a Short is playing.
|
// Preview comment that can popup while a Short is playing.
|
||||||
// Uses no bundled icons, and instead the users profile photo is shown.
|
// Uses no bundled icons, and instead the users profile photo is shown.
|
||||||
"shorts-comments-panel"
|
"shorts-comments-panel"
|
||||||
|
@ -275,7 +275,7 @@ public class Settings extends BaseSettings {
|
|||||||
public static final BooleanSetting HIDE_SHORTS_SEARCH = new BooleanSetting("revanced_hide_shorts_search", FALSE);
|
public static final BooleanSetting HIDE_SHORTS_SEARCH = new BooleanSetting("revanced_hide_shorts_search", FALSE);
|
||||||
public static final BooleanSetting HIDE_SHORTS_SEARCH_SUGGESTIONS = new BooleanSetting("revanced_hide_shorts_search_suggestions", TRUE);
|
public static final BooleanSetting HIDE_SHORTS_SEARCH_SUGGESTIONS = new BooleanSetting("revanced_hide_shorts_search_suggestions", TRUE);
|
||||||
public static final BooleanSetting HIDE_SHORTS_SHARE_BUTTON = new BooleanSetting("revanced_hide_shorts_share_button", FALSE);
|
public static final BooleanSetting HIDE_SHORTS_SHARE_BUTTON = new BooleanSetting("revanced_hide_shorts_share_button", FALSE);
|
||||||
public static final BooleanSetting HIDE_SHORTS_COMMENT_PANEL = new BooleanSetting("revanced_hide_shorts_comment_panel", TRUE);
|
public static final BooleanSetting HIDE_SHORTS_PREVIEW_COMMENT = new BooleanSetting("revanced_hide_shorts_preview_comment", TRUE);
|
||||||
public static final BooleanSetting HIDE_SHORTS_SHOP_BUTTON = new BooleanSetting("revanced_hide_shorts_shop_button", TRUE);
|
public static final BooleanSetting HIDE_SHORTS_SHOP_BUTTON = new BooleanSetting("revanced_hide_shorts_shop_button", TRUE);
|
||||||
public static final BooleanSetting HIDE_SHORTS_SOUND_BUTTON = new BooleanSetting("revanced_hide_shorts_sound_button", FALSE);
|
public static final BooleanSetting HIDE_SHORTS_SOUND_BUTTON = new BooleanSetting("revanced_hide_shorts_sound_button", FALSE);
|
||||||
public static final BooleanSetting HIDE_SHORTS_SOUND_METADATA_LABEL = new BooleanSetting("revanced_hide_shorts_sound_metadata_label", FALSE);
|
public static final BooleanSetting HIDE_SHORTS_SOUND_METADATA_LABEL = new BooleanSetting("revanced_hide_shorts_sound_metadata_label", FALSE);
|
||||||
|
@ -92,7 +92,7 @@ private val hideShortsComponentsResourcePatch = resourcePatch {
|
|||||||
SwitchPreference("revanced_hide_shorts_paused_overlay_buttons"),
|
SwitchPreference("revanced_hide_shorts_paused_overlay_buttons"),
|
||||||
|
|
||||||
// Suggested actions.
|
// Suggested actions.
|
||||||
SwitchPreference("revanced_hide_shorts_comment_panel"),
|
SwitchPreference("revanced_hide_shorts_preview_comment"),
|
||||||
SwitchPreference("revanced_hide_shorts_save_sound_button"),
|
SwitchPreference("revanced_hide_shorts_save_sound_button"),
|
||||||
SwitchPreference("revanced_hide_shorts_use_template_button"),
|
SwitchPreference("revanced_hide_shorts_use_template_button"),
|
||||||
SwitchPreference("revanced_hide_shorts_upcoming_button"),
|
SwitchPreference("revanced_hide_shorts_upcoming_button"),
|
||||||
|
@ -812,9 +812,9 @@ To show the Audio track menu, change \'Spoof video streams\' to iOS TV"</string>
|
|||||||
<string name="revanced_hide_shorts_location_label_title">Hide location label</string>
|
<string name="revanced_hide_shorts_location_label_title">Hide location label</string>
|
||||||
<string name="revanced_hide_shorts_location_label_summary_on">Location label is hidden</string>
|
<string name="revanced_hide_shorts_location_label_summary_on">Location label is hidden</string>
|
||||||
<string name="revanced_hide_shorts_location_label_summary_off">Location label is shown</string>
|
<string name="revanced_hide_shorts_location_label_summary_off">Location label is shown</string>
|
||||||
<string name="revanced_hide_shorts_comment_panel_title">Hide Comment panel</string>
|
<string name="revanced_hide_shorts_preview_comment_title">Hide preview comment</string>
|
||||||
<string name="revanced_hide_shorts_comment_panel_summary_on">Comment panel is hidden</string>
|
<string name="revanced_hide_shorts_preview_comment_summary_on">Preview comment is hidden</string>
|
||||||
<string name="revanced_hide_shorts_comment_panel_summary_off">Comment panel is shown</string>
|
<string name="revanced_hide_shorts_preview_comment_summary_off">Preview comment is shown</string>
|
||||||
<string name="revanced_hide_shorts_save_sound_button_title">Hide Save music button</string>
|
<string name="revanced_hide_shorts_save_sound_button_title">Hide Save music button</string>
|
||||||
<string name="revanced_hide_shorts_save_sound_button_summary_on">Save music button is hidden</string>
|
<string name="revanced_hide_shorts_save_sound_button_summary_on">Save music button is hidden</string>
|
||||||
<string name="revanced_hide_shorts_save_sound_button_summary_off">Save music button is shown</string>
|
<string name="revanced_hide_shorts_save_sound_button_summary_off">Save music button is shown</string>
|
||||||
|
Reference in New Issue
Block a user