mirror of
https://github.com/inotia00/revanced-patches.git
synced 2025-06-13 05:37:40 +02:00
fix(YouTube/Return YouTube Dislike): dislike count sometimes not shown in Shorts https://github.com/inotia00/ReVanced_Extended/issues/1565
This commit is contained in:
@ -113,9 +113,6 @@ object VideoInformationPatch : BytecodePatch(
|
|||||||
private lateinit var videoTimeConstructorMethod: MutableMethod
|
private lateinit var videoTimeConstructorMethod: MutableMethod
|
||||||
private var videoTimeConstructorInsertIndex = 2
|
private var videoTimeConstructorInsertIndex = 2
|
||||||
|
|
||||||
private lateinit var videoTimeMethod: MutableMethod
|
|
||||||
private var videoTimeIndex = 1
|
|
||||||
|
|
||||||
// Used by other patches.
|
// Used by other patches.
|
||||||
internal lateinit var speedSelectionInsertMethod: MutableMethod
|
internal lateinit var speedSelectionInsertMethod: MutableMethod
|
||||||
internal lateinit var videoEndMethod: MutableMethod
|
internal lateinit var videoEndMethod: MutableMethod
|
||||||
@ -265,6 +262,7 @@ object VideoInformationPatch : BytecodePatch(
|
|||||||
/**
|
/**
|
||||||
* Set current video id
|
* Set current video id
|
||||||
*/
|
*/
|
||||||
|
VideoIdPatch.hookVideoId("$INTEGRATIONS_CLASS_DESCRIPTOR->setVideoId(Ljava/lang/String;)V")
|
||||||
VideoIdPatch.hookPlayerResponseVideoId(
|
VideoIdPatch.hookPlayerResponseVideoId(
|
||||||
"$INTEGRATIONS_CLASS_DESCRIPTOR->setPlayerResponseVideoId(Ljava/lang/String;Z)V")
|
"$INTEGRATIONS_CLASS_DESCRIPTOR->setPlayerResponseVideoId(Ljava/lang/String;Z)V")
|
||||||
// Call before any other video id hooks,
|
// Call before any other video id hooks,
|
||||||
|
Reference in New Issue
Block a user