Skip to content

Commit

Permalink
fix: qualifying Element with wrong package
Browse files Browse the repository at this point in the history
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
  • Loading branch information
oSumAtrIX committed Jun 5, 2022
1 parent e506d8f commit 024fa86
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Expand Up @@ -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(
Expand All @@ -23,7 +23,7 @@ class ExampleResourcePatch : ResourcePatch(
val element = editor
.file
.getElementsByTagName("application")
.item(0) as ElementImpl
.item(0) as Element
element
.setAttribute(
"exampleAttribute",
Expand Down

0 comments on commit 024fa86

Please sign in to comment.