mirror of
https://github.com/inotia00/revanced-patches.git
synced 2025-06-12 21:27:43 +02:00
feat(YouTube Music/Spoof app version): add target version 7.16.53
This commit is contained in:
@ -258,7 +258,10 @@ internal fun NodeList.findElementByAttributeValue(attributeName: String, value:
|
||||
return null
|
||||
}
|
||||
|
||||
internal fun NodeList.findElementByAttributeValueOrThrow(attributeName: String, value: String): Element {
|
||||
internal fun NodeList.findElementByAttributeValueOrThrow(
|
||||
attributeName: String,
|
||||
value: String
|
||||
): Element {
|
||||
return findElementByAttributeValue(attributeName, value)
|
||||
?: throw PatchException("Could not find: $attributeName $value")
|
||||
}
|
Reference in New Issue
Block a user