mirror of
https://github.com/revanced/revanced-patches
synced 2024-09-03 04:56:05 +02:00
fix: accidentally removed code in refactor
This commit is contained in:
parent
32146506f1
commit
0077e26d23
@ -62,7 +62,7 @@ class VideoAdsPatch : Patch(
|
||||
)
|
||||
) {
|
||||
override fun execute(patcherData: PatcherData): PatchResult {
|
||||
val result = signatures.first().result!!
|
||||
var result = signatures.first().result!!
|
||||
|
||||
val responsibleMethodSignature = MethodSignature(
|
||||
MethodSignatureMetadata(
|
||||
@ -82,7 +82,7 @@ class VideoAdsPatch : Patch(
|
||||
null
|
||||
)
|
||||
|
||||
result.findParentMethod(
|
||||
result = result.findParentMethod(
|
||||
responsibleMethodSignature
|
||||
) ?: return PatchResultError(
|
||||
"Could not find parent method with signature ${responsibleMethodSignature.metadata.name}"
|
||||
|
@ -124,7 +124,7 @@ class EnableSeekbarTappingPatch : Patch(
|
||||
)
|
||||
) {
|
||||
override fun execute(patcherData: PatcherData): PatchResult {
|
||||
val result = signatures.first().result!!
|
||||
var result = signatures.first().result!!
|
||||
|
||||
val tapSeekMethods = mutableMapOf<String, Method>()
|
||||
|
||||
@ -149,7 +149,7 @@ class EnableSeekbarTappingPatch : Patch(
|
||||
}
|
||||
|
||||
// replace map because we dont need the upper one anymore
|
||||
signatures.last().result!!
|
||||
result = signatures.last().result!!
|
||||
|
||||
val implementation = result.method.implementation!!
|
||||
|
||||
|
@ -72,9 +72,9 @@ class OldQualityLayoutPatch : Patch(
|
||||
)
|
||||
) {
|
||||
override fun execute(patcherData: PatcherData): PatchResult {
|
||||
val result = signatures.first().result!!
|
||||
var result = signatures.first().result!!
|
||||
|
||||
result.findParentMethod(
|
||||
result = result.findParentMethod(
|
||||
MethodSignature(
|
||||
MethodSignatureMetadata(
|
||||
"old-quality-method-signature",
|
||||
|
Loading…
Reference in New Issue
Block a user