refactor(youtube/general-ads): apply auto-refactor

This commit is contained in:
oSumAtrIX 2022-11-21 00:57:20 +01:00
parent fb3d3f5cb2
commit b8256f8727

View file

@ -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