From 084e0a527b1c75d1ef15dc706c429aa48d0ffe6b Mon Sep 17 00:00:00 2001 From: LisoUseInAIKyrios <118716522+LisoUseInAIKyrios@users.noreply.github.com> Date: Fri, 8 Nov 2024 21:17:02 -0400 Subject: [PATCH] fix(YouTube - Return YouTube Dislike): Show Shorts dislikes with new A/B button icons --- .../components/ReturnYouTubeDislikeFilterPatch.java | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/extensions/shared/src/main/java/app/revanced/extension/youtube/patches/components/ReturnYouTubeDislikeFilterPatch.java b/extensions/shared/src/main/java/app/revanced/extension/youtube/patches/components/ReturnYouTubeDislikeFilterPatch.java index bac1d4ce7..0d1504e40 100644 --- a/extensions/shared/src/main/java/app/revanced/extension/youtube/patches/components/ReturnYouTubeDislikeFilterPatch.java +++ b/extensions/shared/src/main/java/app/revanced/extension/youtube/patches/components/ReturnYouTubeDislikeFilterPatch.java @@ -76,15 +76,10 @@ public final class ReturnYouTubeDislikeFilterPatch extends Filter { new StringFilterGroup(null, "|shorts_dislike_button.eml") ); - // After the likes icon name is some binary data and then the video id for that specific short. + // After the button identifiers is binary data and then the video id for that specific short. videoIdFilterGroup.addAll( - // on_shadowed = Video was previously like/disliked before opening. - // off_shadowed = Video was not previously liked/disliked before opening. - new ByteArrayFilterGroup(null, "ic_right_like_on_shadowed"), - new ByteArrayFilterGroup(null, "ic_right_like_off_shadowed"), - - new ByteArrayFilterGroup(null, "ic_right_dislike_on_shadowed"), - new ByteArrayFilterGroup(null, "ic_right_dislike_off_shadowed") + new ByteArrayFilterGroup(null, "id.reel_like_button"), + new ByteArrayFilterGroup(null, "id.reel_dislike_button") ); }