fix(Twitter - Unlock downloads): Make it work with latest versions (#3782)

This commit is contained in:
Alex 2024-10-17 19:18:48 +04:00 committed by GitHub
parent 5150a15ad4
commit 5189122006
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -10,5 +10,5 @@ internal object BuildMediaOptionsSheetFingerprint : MethodFingerprint(
Opcode.GOTO_16, Opcode.GOTO_16,
Opcode.NEW_INSTANCE, Opcode.NEW_INSTANCE,
), ),
strings = listOf("resources.getString(R.string.post_video)"), strings = listOf("mediaEntity", "media_options_sheet"),
) )

View File

@ -5,6 +5,6 @@ import com.android.tools.smali.dexlib2.Opcode
internal object ShowDownloadVideoUpsellBottomSheetFingerprint : MethodFingerprint( internal object ShowDownloadVideoUpsellBottomSheetFingerprint : MethodFingerprint(
returnType = "Z", returnType = "Z",
strings = listOf("variantToDownload.url"), strings = listOf("mediaEntity", "url"),
opcodes = listOf(Opcode.IF_EQZ) opcodes = listOf(Opcode.IF_EQZ)
) )