mirror of
https://github.com/revanced/revanced-integrations.git
synced 2025-01-08 11:05:49 +01:00
fix(YouTube - Hide layout components): Hide emergency box when enabled
This commit is contained in:
parent
741ab2468d
commit
6ca7946e8f
@ -130,6 +130,11 @@ public final class LayoutComponentsFilter extends Filter {
|
|||||||
"channel_guidelines_entry_banner"
|
"channel_guidelines_entry_banner"
|
||||||
);
|
);
|
||||||
|
|
||||||
|
final var emergencyBox = new StringFilterGroup(
|
||||||
|
SettingsEnum.HIDE_EMERGENCY_BOX,
|
||||||
|
"emergency_onebox"
|
||||||
|
);
|
||||||
|
|
||||||
// The player audio track button does the exact same function as the audio track flyout menu option.
|
// The player audio track button does the exact same function as the audio track flyout menu option.
|
||||||
// But if the copy url button is shown, these button clashes and the the audio button does not work.
|
// But if the copy url button is shown, these button clashes and the the audio button does not work.
|
||||||
// Previously this was a setting to show/hide the player button.
|
// Previously this was a setting to show/hide the player button.
|
||||||
@ -239,6 +244,7 @@ public final class LayoutComponentsFilter extends Filter {
|
|||||||
medicalPanel,
|
medicalPanel,
|
||||||
videoQualityMenuFooter,
|
videoQualityMenuFooter,
|
||||||
infoPanel,
|
infoPanel,
|
||||||
|
emergencyBox,
|
||||||
subscribersCommunityGuidelines,
|
subscribersCommunityGuidelines,
|
||||||
channelGuidelines,
|
channelGuidelines,
|
||||||
audioTrackButton,
|
audioTrackButton,
|
||||||
|
Loading…
Reference in New Issue
Block a user