Skip to content

Commit

Permalink
fix: patch error
Browse files Browse the repository at this point in the history
  • Loading branch information
inotia00 committed Jul 23, 2023
1 parent 360da14 commit 25d311b
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand All @@ -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
*/
Expand Down

0 comments on commit 25d311b

Please sign in to comment.