mirror of
https://github.com/revanced/revanced-patcher.git
synced 2025-05-01 05:44:24 +02:00
feat: remove unused extension dependsOn
BREAKING CHANGE: The extension does not exist anymore and any use should be removed
This commit is contained in:
parent
4ae9ad09d6
commit
797286b758
@ -58,12 +58,6 @@ object PatchExtensions {
|
|||||||
if (cl == Patch::class) null else cl
|
if (cl == Patch::class) null else cl
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@JvmStatic
|
|
||||||
fun Class<out Patch<Data>>.dependsOn(patch: Class<out Patch<Data>>): Boolean {
|
|
||||||
if (this.patchName == patch.patchName) throw IllegalArgumentException("thisval and patch may not be the same")
|
|
||||||
return this.dependencies?.any { it.java.patchName == this@dependsOn.patchName } == true
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
object MethodFingerprintExtensions {
|
object MethodFingerprintExtensions {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user