fix: patch error

This commit is contained in:
inotia00 2023-07-23 15:34:49 +09:00
parent 360da14efb
commit 25d311ba32

View File

@ -76,11 +76,6 @@ class VideoIdPatch : BytecodePatch(
} ?: return SeekFingerprint.toErrorResult()
} ?: return PlayerInitFingerprint.toErrorResult()
/**
* Hook the methods which set the time
*/
videoTimeHook(INTEGRATIONS_CLASS_DESCRIPTOR, "setVideoTime")
/**
* Set current video time
*/
@ -90,6 +85,11 @@ class VideoIdPatch : BytecodePatch(
.getMethod() as MutableMethod
} ?: return PlayerControllerSetTimeReferenceFingerprint.toErrorResult()
/**
* Hook the methods which set the time
*/
videoTimeHook(INTEGRATIONS_CLASS_DESCRIPTOR, "setVideoTime")
/**
* Set current video length
*/