chore: lint code

This commit is contained in:
inotia00
2024-09-28 22:57:23 +09:00
parent 455886930c
commit 0642d18a89
3 changed files with 26 additions and 9 deletions

View File

@ -72,8 +72,12 @@ object CairoSplashAnimationPatch : BytecodePatch(
reference?.name == "findViewById" &&
reference.definingClass != "Landroid/view/View;"
}
val freeRegister = getInstruction<FiveRegisterInstruction>(viewStubFindViewByIdIndex).registerD
val jumpIndex = indexOfFirstInstructionReversedOrThrow(viewStubFindViewByIdIndex, Opcode.IGET_OBJECT)
val freeRegister =
getInstruction<FiveRegisterInstruction>(viewStubFindViewByIdIndex).registerD
val jumpIndex = indexOfFirstInstructionReversedOrThrow(
viewStubFindViewByIdIndex,
Opcode.IGET_OBJECT
)
addInstructionsWithLabels(
insertIndex, """

View File

@ -19,8 +19,6 @@ object BottomSheetHookPatch : BytecodePatch(
override fun execute(context: BytecodeContext) {
// region patch for set player type
val bottomSheetClass =
BottomSheetBehaviorFingerprint.resultOrThrow().mutableMethod.definingClass