fix(YouTube - Return YouTube Dislike): Fix dislikes not appearing due to new component name (#674)

This commit is contained in:
oSumAtrIX 2024-08-06 00:07:39 +02:00 committed by GitHub
parent 7017488de9
commit 509e1516f8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -221,12 +221,12 @@ public class ReturnYouTubeDislikePatch {
String conversionContextString = conversionContext.toString(); String conversionContextString = conversionContext.toString();
if (isRollingNumber && !conversionContextString.contains("video_action_bar.eml|")) { if (isRollingNumber && !conversionContextString.contains("video_action_bar.eml")) {
return original; return original;
} }
final CharSequence replacement; final CharSequence replacement;
if (conversionContextString.contains("|segmented_like_dislike_button.eml|")) { if (conversionContextString.contains("segmented_like_dislike_button.eml")) {
// Regular video. // Regular video.
ReturnYouTubeDislike videoData = currentVideoData; ReturnYouTubeDislike videoData = currentVideoData;
if (videoData == null) { if (videoData == null) {