feat: use consistent names for patches
This commit is contained in:
+7
-1
@@ -58,7 +58,7 @@ class CommentsPatch : BytecodePatch(
|
||||
addInstructions(
|
||||
insertIndex,
|
||||
"""
|
||||
invoke-static { v$shortsCommentsButtonRegister }, Lapp/revanced/integrations/patches/HideShortsCommentsButtonPatch;->hideShortsCommentsButton(Landroid/view/View;)V
|
||||
invoke-static { v$shortsCommentsButtonRegister }, $FILTER_METHOD_DESCRIPTOR
|
||||
"""
|
||||
)
|
||||
}
|
||||
@@ -66,4 +66,10 @@ class CommentsPatch : BytecodePatch(
|
||||
|
||||
return PatchResultSuccess()
|
||||
}
|
||||
|
||||
private companion object {
|
||||
private const val FILTER_METHOD_DESCRIPTOR =
|
||||
"Lapp/revanced/integrations/patches/HideShortsCommentsButtonPatch;" +
|
||||
"->hideShortsCommentsButton(Landroid/view/View;)V"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user