mirror of
https://github.com/revanced/revanced-patches
synced 2024-11-10 10:59:23 +01:00
refactor(youtube/general-ads): apply auto-refactor
This commit is contained in:
parent
763618002a
commit
bc96be3e69
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user