From bc96be3e69437f277a37eb2cad5aad38c9dbb67b Mon Sep 17 00:00:00 2001 From: oSumAtrIX Date: Mon, 21 Nov 2022 00:57:20 +0100 Subject: [PATCH] refactor(youtube/general-ads): apply auto-refactor --- .../youtube/ad/general/bytecode/patch/GeneralAdsPatch.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/app/revanced/patches/youtube/ad/general/bytecode/patch/GeneralAdsPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/ad/general/bytecode/patch/GeneralAdsPatch.kt index 4ac34569b..a8dc5284e 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/ad/general/bytecode/patch/GeneralAdsPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/ad/general/bytecode/patch/GeneralAdsPatch.kt @@ -49,7 +49,7 @@ class GeneralAdsPatch : BytecodePatch() { if (instruction.opcode != org.jf.dexlib2.Opcode.CONST) return@forEachIndexed // Instruction to store the id adAttribution into a register - if ((instruction as Instruction31i).wideLiteral != app.revanced.patches.youtube.ad.general.resource.patch.GeneralAdsResourcePatch.adAttributionId) + if ((instruction as Instruction31i).wideLiteral != GeneralAdsResourcePatch.adAttributionId) return@forEachIndexed val insertIndex = index + 1