fix(youtube/hide-info-cards): allow toggling visibility of info-cards (#1464)

This commit is contained in:
LisoUseInAIKyrios 2023-01-10 13:53:57 +04:00 committed by GitHub
parent a16ab7969d
commit e6dcb55382
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -45,7 +45,7 @@ class HideInfocardsPatch : BytecodePatch(
"Landroid/view/View;->setVisibility(I)V") "Landroid/view/View;->setVisibility(I)V")
} }
replaceInstruction( addInstructions(
invokeInstructionIndex, invokeInstructionIndex,
"invoke-static {v${(instruction(invokeInstructionIndex) as? BuilderInstruction35c)?.registerC}}," + "invoke-static {v${(instruction(invokeInstructionIndex) as? BuilderInstruction35c)?.registerC}}," +
" Lapp/revanced/integrations/patches/HideInfocardsPatch;->hideInfocardsIncognito(Landroid/view/View;)V" " Lapp/revanced/integrations/patches/HideInfocardsPatch;->hideInfocardsIncognito(Landroid/view/View;)V"