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

This commit is contained in:
oSumAtrIX 2022-11-21 00:57:20 +01:00
parent 763618002a
commit bc96be3e69
No known key found for this signature in database
GPG Key ID: A9B3094ACDB604B4

View File

@ -49,7 +49,7 @@ class GeneralAdsPatch : BytecodePatch() {
if (instruction.opcode != org.jf.dexlib2.Opcode.CONST) if (instruction.opcode != org.jf.dexlib2.Opcode.CONST)
return@forEachIndexed return@forEachIndexed
// Instruction to store the id adAttribution into a register // 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 return@forEachIndexed
val insertIndex = index + 1 val insertIndex = index + 1