refactor: renamed some patches description

This commit is contained in:
inotia00
2023-06-24 12:52:01 +09:00
parent 00fb748025
commit 5f67efa8ad
28 changed files with 53 additions and 53 deletions

View File

@ -23,11 +23,11 @@ import org.jf.dexlib2.iface.instruction.ReferenceInstruction
import org.jf.dexlib2.iface.instruction.formats.Instruction35c
import org.jf.dexlib2.iface.reference.MethodReference
@Name("hook-navbar-index-patch")
@Name("navbar-index-hook")
@DependsOn([SharedResourceIdPatch::class])
@YouTubeCompatibility
@Version("0.0.1")
class NavBarIndexPatch : BytecodePatch(
class NavBarIndexHookPatch : BytecodePatch(
listOf(
NavBarBuilderFingerprint,
OnBackPressedFingerprint,

View File

@ -19,11 +19,11 @@ import org.jf.dexlib2.Opcode
import org.jf.dexlib2.builder.instruction.BuilderInstruction21c
import org.jf.dexlib2.builder.instruction.BuilderInstruction35c
@Name("hook-player-button-patch")
@Name("player-button-hook")
@DependsOn([SharedResourceIdPatch::class])
@YouTubeCompatibility
@Version("0.0.1")
class PlayerButtonPatch : BytecodePatch(
class PlayerButtonHookPatch : BytecodePatch(
listOf(LiveChatFingerprint)
) {
override fun execute(context: BytecodeContext): PatchResult {

View File

@ -34,7 +34,7 @@ import org.jf.dexlib2.iface.instruction.TwoRegisterInstruction
import org.jf.dexlib2.iface.instruction.formats.Instruction35c
import org.jf.dexlib2.iface.reference.Reference
@Name("player-controls-patch")
@Name("player-controls")
@DependsOn([SharedResourceIdPatch::class])
@Description("Manages the code for the player controls of the YouTube player.")
@YouTubeCompatibility

View File

@ -1,4 +1,4 @@
package app.revanced.patches.youtube.utils.quickactionscontainer.fingerprints
package app.revanced.patches.youtube.utils.quickactions.fingerprints
import app.revanced.patcher.fingerprint.method.impl.MethodFingerprint
import app.revanced.patches.youtube.utils.resourceid.patch.SharedResourceIdPatch.Companion.QuickActionsElementContainer

View File

@ -1,4 +1,4 @@
package app.revanced.patches.youtube.utils.quickactionscontainer.patch
package app.revanced.patches.youtube.utils.quickactions.patch
import app.revanced.extensions.toErrorResult
import app.revanced.patcher.annotation.Name
@ -11,16 +11,16 @@ import app.revanced.patcher.patch.PatchResult
import app.revanced.patcher.patch.PatchResultSuccess
import app.revanced.patcher.patch.annotations.DependsOn
import app.revanced.patches.youtube.utils.annotations.YouTubeCompatibility
import app.revanced.patches.youtube.utils.quickactionscontainer.fingerprints.QuickActionsElementFingerprint
import app.revanced.patches.youtube.utils.quickactions.fingerprints.QuickActionsElementFingerprint
import app.revanced.patches.youtube.utils.resourceid.patch.SharedResourceIdPatch
import app.revanced.util.integrations.Constants.FULLSCREEN
import org.jf.dexlib2.iface.instruction.OneRegisterInstruction
@Name("hide-quick-actions-hook")
@Name("quick-actions-hook")
@DependsOn([SharedResourceIdPatch::class])
@YouTubeCompatibility
@Version("0.0.1")
class HideQuickActionsContainerPatch : BytecodePatch(
class QuickActionsHookPatch : BytecodePatch(
listOf(QuickActionsElementFingerprint)
) {
override fun execute(context: BytecodeContext): PatchResult {