diff --git a/src/main/kotlin/app/revanced/patcher/extensions/Extensions.kt b/src/main/kotlin/app/revanced/patcher/extensions/Extensions.kt index 07c20d3..c086367 100644 --- a/src/main/kotlin/app/revanced/patcher/extensions/Extensions.kt +++ b/src/main/kotlin/app/revanced/patcher/extensions/Extensions.kt @@ -4,12 +4,8 @@ import org.jf.dexlib2.AccessFlags import org.jf.dexlib2.builder.BuilderInstruction import org.jf.dexlib2.builder.MutableMethodImplementation -class AccessFlagExtensions { - companion object { - infix fun AccessFlags.or(other: AccessFlags) = this.value or other.value - infix fun Int.or(other: AccessFlags) = this or other.value - } -} +infix fun AccessFlags.or(other: AccessFlags) = this.value or other.value +infix fun Int.or(other: AccessFlags) = this or other.value fun MutableMethodImplementation.addInstructions(index: Int, instructions: List) { for (i in instructions.lastIndex downTo 0) {