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): dislike count sometimes not show…
Browse files Browse the repository at this point in the history
  • Loading branch information
inotia00 authored and anddea committed May 16, 2024
1 parent 2f86f6b commit f869a37
Showing 1 changed file with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,18 @@ public static void setVideoInformation(@NonNull String newlyLoadedChannelId, @No
);
}

/**
* Injection point.
*
* @param newlyLoadedVideoId id of the current video
*/
public static void setVideoId(@NonNull String newlyLoadedVideoId) {
if (videoId.equals(newlyLoadedVideoId))
return;

videoId = newlyLoadedVideoId;
}

/**
* Id of the last video opened. Includes Shorts.
*
Expand Down

0 comments on commit f869a37

Please sign in to comment.