fix(YouTube - Hide Shorts components): Resolve "Hide 'Use this sound' button" and "Hide 'Use this template' button" not working
Co-authored-by: ILoveOpenSourceApplications <117499019+iloveopensourceapplications@users.noreply.github.com>
This commit is contained in:
parent
b71e4f95ff
commit
14545c874d
1 changed files with 8 additions and 4 deletions
|
|
@ -252,23 +252,27 @@ public final class ShortsFilter extends Filter {
|
||||||
// through the "Short remixing this video" section.
|
// through the "Short remixing this video" section.
|
||||||
"floating_action_button.e",
|
"floating_action_button.e",
|
||||||
// Second filter needed for "Use this sound" that can appear below the video title.
|
// Second filter needed for "Use this sound" that can appear below the video title.
|
||||||
REEL_METAPANEL_PATH
|
REEL_METAPANEL_PATH,
|
||||||
|
REEL_PLAYER_OVERLAY_PATH
|
||||||
);
|
);
|
||||||
|
|
||||||
useSoundButtonBuffer = new ByteArrayFilterGroup(
|
useSoundButtonBuffer = new ByteArrayFilterGroup(
|
||||||
null,
|
null,
|
||||||
"yt_outline_camera_"
|
"yt_outline_camera_",
|
||||||
|
"yt_outline_experimental_camera_"
|
||||||
);
|
);
|
||||||
|
|
||||||
useTemplateButton = new StringFilterGroup(
|
useTemplateButton = new StringFilterGroup(
|
||||||
Settings.HIDE_SHORTS_USE_TEMPLATE_BUTTON,
|
Settings.HIDE_SHORTS_USE_TEMPLATE_BUTTON,
|
||||||
// Second filter needed for "Use this template" that can appear below the video title.
|
// Second filter needed for "Use this template" that can appear below the video title.
|
||||||
REEL_METAPANEL_PATH
|
REEL_METAPANEL_PATH,
|
||||||
|
REEL_PLAYER_OVERLAY_PATH
|
||||||
);
|
);
|
||||||
|
|
||||||
useTemplateButtonBuffer = new ByteArrayFilterGroup(
|
useTemplateButtonBuffer = new ByteArrayFilterGroup(
|
||||||
null,
|
null,
|
||||||
"yt_outline_template_add_"
|
"yt_outline_template_add_",
|
||||||
|
"yt_outline_experimental_template_add_"
|
||||||
);
|
);
|
||||||
|
|
||||||
shortsActionButton = new StringFilterGroup(
|
shortsActionButton = new StringFilterGroup(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue