mirror of
https://github.com/inotia00/revanced-patches.git
synced 2025-06-13 05:37:40 +02:00
chore: lint code
This commit is contained in:
@ -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, """
|
||||
|
@ -19,8 +19,6 @@ object BottomSheetHookPatch : BytecodePatch(
|
||||
|
||||
override fun execute(context: BytecodeContext) {
|
||||
|
||||
// region patch for set player type
|
||||
|
||||
val bottomSheetClass =
|
||||
BottomSheetBehaviorFingerprint.resultOrThrow().mutableMethod.definingClass
|
||||
|
||||
|
Reference in New Issue
Block a user