diff --git a/src/main/kotlin/app/revanced/patches/youtube/ads/general/resource/patch/GeneralAdsPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/ads/general/resource/patch/GeneralAdsPatch.kt index 173250047..2767cd552 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/ads/general/resource/patch/GeneralAdsPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/ads/general/resource/patch/GeneralAdsPatch.kt @@ -97,7 +97,11 @@ class GeneralAdsPatch : ResourcePatch { "PREFERENCE: GENERAL_LAYOUT_SETTINGS", "PREFERENCE_HEADER: PLAYER", - "SETTINGS: HIDE_VIEW_PRODUCT" + "SETTINGS: HIDE_VIEW_PRODUCT", + + "PREFERENCE: OTHER_LAYOUT_SETTINGS", + "PREFERENCE_HEADER: BOTTOM_PLAYER", + "SETTINGS: COMMENT_COMPONENT_PARENT" ) ) diff --git a/src/main/kotlin/app/revanced/patches/youtube/layout/buttomplayer/comment/patch/CommentComponentPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/layout/buttomplayer/comment/patch/CommentComponentPatch.kt index 94194a505..13d561fa3 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/layout/buttomplayer/comment/patch/CommentComponentPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/layout/buttomplayer/comment/patch/CommentComponentPatch.kt @@ -34,7 +34,8 @@ class CommentComponentPatch : ResourcePatch { arrayOf( "PREFERENCE: OTHER_LAYOUT_SETTINGS", "PREFERENCE_HEADER: BOTTOM_PLAYER", - "SETTINGS: COMMENT_COMPONENT" + "SETTINGS: COMMENT_COMPONENT_PARENT", + "SETTINGS: COMMENT_COMPONENTS" ) ) diff --git a/src/main/resources/youtube/settings/xml/revanced_prefs.xml b/src/main/resources/youtube/settings/xml/revanced_prefs.xml index 2214aeafc..363ad1fb3 100644 --- a/src/main/resources/youtube/settings/xml/revanced_prefs.xml +++ b/src/main/resources/youtube/settings/xml/revanced_prefs.xml @@ -129,13 +129,11 @@ - - @@ -240,12 +238,19 @@ SETTINGS: BUTTON_CONTAINER --> - + + + SETTINGS: COMMENT_COMPONENTS --> + + +