From 509e1516f817bd736c3b2cc75bb5b48ab7de404a Mon Sep 17 00:00:00 2001 From: oSumAtrIX Date: Tue, 6 Aug 2024 00:07:39 +0200 Subject: [PATCH] fix(YouTube - Return YouTube Dislike): Fix dislikes not appearing due to new component name (#674) --- .../youtube/patches/ReturnYouTubeDislikePatch.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/app/revanced/integrations/youtube/patches/ReturnYouTubeDislikePatch.java b/app/src/main/java/app/revanced/integrations/youtube/patches/ReturnYouTubeDislikePatch.java index 7a8a3a9e0e..0fb8482957 100644 --- a/app/src/main/java/app/revanced/integrations/youtube/patches/ReturnYouTubeDislikePatch.java +++ b/app/src/main/java/app/revanced/integrations/youtube/patches/ReturnYouTubeDislikePatch.java @@ -221,12 +221,12 @@ private static CharSequence onLithoTextLoaded(@NonNull Object conversionContext, String conversionContextString = conversionContext.toString(); - if (isRollingNumber && !conversionContextString.contains("video_action_bar.eml|")) { + if (isRollingNumber && !conversionContextString.contains("video_action_bar.eml")) { return original; } final CharSequence replacement; - if (conversionContextString.contains("|segmented_like_dislike_button.eml|")) { + if (conversionContextString.contains("segmented_like_dislike_button.eml")) { // Regular video. ReturnYouTubeDislike videoData = currentVideoData; if (videoData == null) {