From b45d175c6f1ece6da894ab16128c2644d262c9c7 Mon Sep 17 00:00:00 2001 From: Lucaskyy Date: Thu, 14 Apr 2022 19:18:34 +0200 Subject: [PATCH] fix: `minimized-playback` & `old-quality-layout` wrong opcodes --- .../app/revanced/patches/layout/MinimizedPlaybackPatch.kt | 2 +- .../kotlin/app/revanced/patches/layout/OldQualityLayoutPatch.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/kotlin/app/revanced/patches/layout/MinimizedPlaybackPatch.kt b/src/main/kotlin/app/revanced/patches/layout/MinimizedPlaybackPatch.kt index b0997a0b..2ef80f61 100644 --- a/src/main/kotlin/app/revanced/patches/layout/MinimizedPlaybackPatch.kt +++ b/src/main/kotlin/app/revanced/patches/layout/MinimizedPlaybackPatch.kt @@ -63,7 +63,7 @@ class MinimizedPlaybackPatch : Patch( Opcode.CONST_4, Opcode.IF_EQZ, Opcode.IGET_BOOLEAN, - Opcode.IF_EQ + Opcode.IF_EQZ ) ) ) diff --git a/src/main/kotlin/app/revanced/patches/layout/OldQualityLayoutPatch.kt b/src/main/kotlin/app/revanced/patches/layout/OldQualityLayoutPatch.kt index d5a7c5a0..e07883f0 100644 --- a/src/main/kotlin/app/revanced/patches/layout/OldQualityLayoutPatch.kt +++ b/src/main/kotlin/app/revanced/patches/layout/OldQualityLayoutPatch.kt @@ -66,7 +66,7 @@ class OldQualityLayoutPatch : Patch( Opcode.IGET_BOOLEAN, Opcode.CONST_4, Opcode.CONST_4, - Opcode.CONST, + Opcode.CONST_4, ) ) )