Skip to content
This repository has been archived by the owner on Oct 26, 2024. It is now read-only.

Commit

Permalink
fix(YouTube - Return YouTube Dislike): Fix dislikes not appearing due…
Browse files Browse the repository at this point in the history
… to new component name (#674)
  • Loading branch information
oSumAtrIX authored Aug 5, 2024
1 parent 7017488 commit 509e151
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 509e151

Please sign in to comment.