File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
patches/src/main/kotlin/app/revanced/patches/instagram Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -3,9 +3,10 @@ package app.revanced.patches.instagram.hide.navigation
33
44import app.revanced.patcher.fingerprint
55import app.revanced.patcher.patch.BytecodePatchContext
6+ import com.android.tools.smali.dexlib2.AccessFlags
67
78internal val initializeNavigationButtonsListFingerprint = fingerprint {
8- strings( " Nav3 " )
9+ accessFlags( AccessFlags . PUBLIC , AccessFlags . FINAL )
910 parameters(" Lcom/instagram/common/session/UserSession;" , " Z" )
1011 returns(" Ljava/util/List;" )
1112}
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ val enableDeveloperMenuPatch = bytecodePatch(
2424 with (clearNotificationReceiverFingerprint.method) {
2525 indexOfFirstInstructionReversedOrThrow(clearNotificationReceiverFingerprint.stringMatches!! .first().index) {
2626 val reference = getReference<MethodReference >()
27- Opcode .INVOKE_STATIC == opcode &&
27+ opcode in listOf ( Opcode .INVOKE_STATIC , Opcode . INVOKE_STATIC_RANGE ) &&
2828 reference?.parameterTypes?.size == 1 &&
2929 reference.parameterTypes.first() == " Lcom/instagram/common/session/UserSession;" &&
3030 reference.returnType == " Z"
You can’t perform that action at this time.
0 commit comments