package app.revanced.patches.youtube.layout.hide.infocards.fingerprints

import app.revanced.patches.youtube.layout.hide.infocards.HideInfocardsResourcePatch
import app.revanced.util.patch.LiteralValueFingerprint
import com.android.tools.smali.dexlib2.Opcode

internal object InfocardsMethodCallFingerprint : LiteralValueFingerprint(
    opcodes = listOf(
        Opcode.INVOKE_VIRTUAL,
        Opcode.IGET_OBJECT,
        Opcode.INVOKE_INTERFACE,
    ),
    strings = listOf("Missing ControlsOverlayPresenter for InfoCards to work."),
    literalSupplier = { HideInfocardsResourcePatch.drawerResourceId }
)