chore: fix typo

This commit is contained in:
inotia00
2024-09-19 20:20:15 +09:00
parent 37e00d462d
commit d776786867

View File

@ -32,7 +32,7 @@ object ChangeStartPagePatch : BaseBytecodePatch(
override fun execute(context: BytecodeContext) { override fun execute(context: BytecodeContext) {
// Hook broseId. // Hook browseId.
BrowseIdFingerprint.resultOrThrow().mutableMethod.apply { BrowseIdFingerprint.resultOrThrow().mutableMethod.apply {
val browseIdIndex = indexOfFirstInstructionOrThrow { val browseIdIndex = indexOfFirstInstructionOrThrow {
opcode == Opcode.CONST_STRING && opcode == Opcode.CONST_STRING &&
@ -48,7 +48,7 @@ object ChangeStartPagePatch : BaseBytecodePatch(
) )
} }
// There is no browserId assigned to Shorts and Search. // There is no browseId assigned to Shorts and Search.
// Just hook the Intent action. // Just hook the Intent action.
IntentActionFingerprint.resultOrThrow().mutableMethod.addInstruction( IntentActionFingerprint.resultOrThrow().mutableMethod.addInstruction(
0, 0,