From f5bf37000270a114b689e9f0e4006208877a5910 Mon Sep 17 00:00:00 2001 From: inotia00 Date: Sun, 23 Apr 2023 00:09:05 +0900 Subject: [PATCH] fix comments --- .../buttomplayer/buttoncontainer/patch/ButtonContainerPatch.kt | 2 +- .../patches/youtube/misc/litho/patch/LithoFilterPatch.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/kotlin/app/revanced/patches/youtube/layout/buttomplayer/buttoncontainer/patch/ButtonContainerPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/layout/buttomplayer/buttoncontainer/patch/ButtonContainerPatch.kt index f76f49901..596e4755a 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/layout/buttomplayer/buttoncontainer/patch/ButtonContainerPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/layout/buttomplayer/buttoncontainer/patch/ButtonContainerPatch.kt @@ -46,7 +46,7 @@ class ButtonContainerPatch : ResourcePatch { with(LithoFilterPatch.lithoMethod) { if (LithoFilterPatch.bufferFingerprintResolved) { - // 18.11.35+ + // 18.11.36+ addInstructions( 0, """ move-object/from16 v10, p3 diff --git a/src/main/kotlin/app/revanced/patches/youtube/misc/litho/patch/LithoFilterPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/misc/litho/patch/LithoFilterPatch.kt index 74d658bc0..227aba80a 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/misc/litho/patch/LithoFilterPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/misc/litho/patch/LithoFilterPatch.kt @@ -104,7 +104,7 @@ class LithoFilterPatch : BytecodePatch( """ if (bufferFingerprintResolved) { - // 18.11.35+ + // 18.11.36+ val objectIndex = indexOfFirst { it.opcode == Opcode.CONST_STRING && (it as BuilderInstruction21c).reference.toString() == ""