Skip to content
This repository was archived by the owner on Dec 11, 2024. It is now read-only.

Commit

Permalink
fix(YouTube - Return YouTube Dislike): Dislikes not appearing due to …
Browse files Browse the repository at this point in the history
…new component name
  • Loading branch information
inotia00 authored and Francesco146 committed Aug 7, 2024
1 parent 69e87d3 commit af63631
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ private static CharSequence onLithoTextLoaded(@NonNull Object conversionContext,
String conversionContextString = conversionContext.toString();

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) {
Expand Down Expand Up @@ -247,7 +247,7 @@ public static CharSequence onCharSequenceLoaded(@NonNull Object conversionContex
public static String onRollingNumberLoaded(@NonNull Object conversionContext,
@NonNull String original) {
try {
if (!conversionContext.toString().contains("video_action_bar.eml|")) {
if (!conversionContext.toString().contains("video_action_bar.eml")) {
return original;
}
CharSequence replacement = onLithoTextLoaded(conversionContext, original, true);
Expand Down

0 comments on commit af63631

Please sign in to comment.