fix: qualifying Element with wrong package

Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
This commit is contained in:
oSumAtrIX
2022-05-07 21:36:05 +02:00
parent e506d8fd8c
commit 024fa867e1
2 changed files with 3 additions and 3 deletions

View File

@@ -5,7 +5,7 @@ import app.revanced.patcher.patch.implementation.ResourcePatch
import app.revanced.patcher.patch.implementation.metadata.PatchMetadata
import app.revanced.patcher.patch.implementation.misc.PatchResult
import app.revanced.patcher.patch.implementation.misc.PatchResultSuccess
import com.sun.org.apache.xerces.internal.dom.ElementImpl
import org.w3c.dom.Element
class ExampleResourcePatch : ResourcePatch(
PatchMetadata(
@@ -23,7 +23,7 @@ class ExampleResourcePatch : ResourcePatch(
val element = editor
.file
.getElementsByTagName("application")
.item(0) as ElementImpl
.item(0) as Element
element
.setAttribute(
"exampleAttribute",