diff --git a/src/main/kotlin/app/revanced/patches/metanav/scaling/annotations/FixScalingCompatibility.kt b/src/main/kotlin/app/revanced/patches/metanav/scaling/annotations/FixScalingCompatibility.kt deleted file mode 100644 index 9ff222c11..000000000 --- a/src/main/kotlin/app/revanced/patches/metanav/scaling/annotations/FixScalingCompatibility.kt +++ /dev/null @@ -1,9 +0,0 @@ -package app.revanced.patches.metanav.scaling.annotations - -import app.revanced.patcher.annotation.Compatibility -import app.revanced.patcher.annotation.Package - -@Compatibility([Package("com.metanav", arrayOf("0.1.0"))]) -@Target(AnnotationTarget.CLASS) -@Retention(AnnotationRetention.RUNTIME) -internal annotation class FixScalingCompatibility \ No newline at end of file diff --git a/src/main/kotlin/app/revanced/patches/metanav/scaling/patch/FixScalingPatch.kt b/src/main/kotlin/app/revanced/patches/metanav/scaling/patch/FixScalingPatch.kt deleted file mode 100644 index fc3e82224..000000000 --- a/src/main/kotlin/app/revanced/patches/metanav/scaling/patch/FixScalingPatch.kt +++ /dev/null @@ -1,32 +0,0 @@ -package app.revanced.patches.metanav.scaling.patch - -import app.revanced.patcher.annotation.Description -import app.revanced.patcher.annotation.Name -import app.revanced.patcher.annotation.Version -import app.revanced.patcher.data.ResourceContext -import app.revanced.patcher.patch.PatchResult -import app.revanced.patcher.patch.PatchResultSuccess -import app.revanced.patcher.patch.ResourcePatch -import app.revanced.patcher.patch.annotations.Patch -import app.revanced.patches.metanav.scaling.annotations.FixScalingCompatibility -import org.w3c.dom.Element - -@Patch -@Name("fix-scaling") -@Description("Scales the content properly.") -@FixScalingCompatibility -@Version("0.0.1") -class FixScalingPatch : ResourcePatch { - override fun execute(context: ResourceContext): PatchResult { - context.xmlEditor["assets/startScreenCanvas.html"].use { editor -> - val svgNode = editor - .file - .getElementsByTagName("svg") - .item(0) as Element - - svgNode.setAttribute("height", "750") - } - - return PatchResultSuccess() - } -}