From ce7e4f5ce9b1fcc6c55ba600dd69e604abc4539e Mon Sep 17 00:00:00 2001 From: inotia00 Date: Sun, 29 Jan 2023 11:46:20 +0900 Subject: [PATCH] reflect latest change --- .../bytecode/patch/ReturnYouTubeDislikeBytecodePatch.kt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/main/kotlin/app/revanced/patches/youtube/misc/returnyoutubedislike/bytecode/patch/ReturnYouTubeDislikeBytecodePatch.kt b/src/main/kotlin/app/revanced/patches/youtube/misc/returnyoutubedislike/bytecode/patch/ReturnYouTubeDislikeBytecodePatch.kt index e0f151297..9a550b2e0 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/misc/returnyoutubedislike/bytecode/patch/ReturnYouTubeDislikeBytecodePatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/misc/returnyoutubedislike/bytecode/patch/ReturnYouTubeDislikeBytecodePatch.kt @@ -12,12 +12,18 @@ import app.revanced.patcher.patch.PatchResult import app.revanced.patcher.patch.PatchResultError import app.revanced.patcher.patch.PatchResultSuccess import app.revanced.patches.youtube.misc.returnyoutubedislike.bytecode.fingerprints.* +import app.revanced.patches.youtube.misc.playertype.patch.PlayerTypeHookPatch import app.revanced.patches.youtube.misc.videoid.legacy.patch.LegacyVideoIdPatch import app.revanced.shared.annotation.YouTubeCompatibility import app.revanced.shared.util.integrations.Constants.UTILS_PATH @Name("return-youtube-dislike-bytecode-patch") -@DependsOn([LegacyVideoIdPatch::class]) +@DependsOn( + [ + LegacyVideoIdPatch::class, + PlayerTypeHookPatch::class + ] +) @YouTubeCompatibility @Version("0.0.1") class ReturnYouTubeDislikeBytecodePatch : BytecodePatch(