fix(hook-timebar-patch): use upper case

This commit is contained in:
inotia00
2023-05-06 01:38:56 +09:00
parent c2ddefe010
commit 6c742b4e99
4 changed files with 49 additions and 9 deletions

View File

@ -14,7 +14,7 @@ import app.revanced.patcher.patch.annotations.Patch
import app.revanced.patcher.util.smali.ExternalLabel
import app.revanced.patches.shared.annotation.YouTubeCompatibility
import app.revanced.patches.youtube.misc.settings.resource.patch.SettingsPatch
import app.revanced.patches.youtube.misc.timebar.patch.HookTimebarPatch
import app.revanced.patches.youtube.misc.timebar.patch.HookTimeBarPatch
import app.revanced.util.integrations.Constants.SEEKBAR
@Patch
@ -22,7 +22,7 @@ import app.revanced.util.integrations.Constants.SEEKBAR
@Description("Hides the seekbar.")
@DependsOn(
[
HookTimebarPatch::class,
HookTimeBarPatch::class,
SettingsPatch::class
]
)
@ -31,7 +31,7 @@ import app.revanced.util.integrations.Constants.SEEKBAR
class HideSeekbarPatch : BytecodePatch() {
override fun execute(context: BytecodeContext): PatchResult {
val insertMethod = HookTimebarPatch.setTimebarMethod
val insertMethod = HookTimeBarPatch.setTimeBarMethod
insertMethod.addInstructions(
0, """