mirror of
https://github.com/ReVanced/revanced-patcher.git
synced 2024-11-10 09:08:04 +01: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
1 changed files with 0 additions and 6 deletions
|
@ -58,12 +58,6 @@ object PatchExtensions {
|
|||
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 {
|
||||
|
|
Loading…
Reference in a new issue