From a566cd794dc12ee141d3a9c332ab7305d2b85b5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ho=C3=A0ng=20Gia=20B=E1=BA=A3o?= <70064328+YT-Advanced@users.noreply.github.com> Date: Tue, 5 Mar 2024 20:51:48 +0700 Subject: [PATCH] Remove unused variable --- .../patches/youtube/overlaybutton/general/OverlayButtonsPatch.kt | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/kotlin/app/revanced/patches/youtube/overlaybutton/general/OverlayButtonsPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/overlaybutton/general/OverlayButtonsPatch.kt index 6420042f0..ffda4da60 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/overlaybutton/general/OverlayButtonsPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/overlaybutton/general/OverlayButtonsPatch.kt @@ -202,7 +202,6 @@ object OverlayButtonsPatch : ResourcePatch() { ) val marginBottom = "$BottomMargin" - val marginBottomButtons = (marginBottom.substringBefore("dip").toFloat() + 4).toString() + "dip" context.xmlEditor["res/layout/youtube_controls_bottom_ui_container.xml"].use { editor -> editor.file.doRecursively loop@{ node ->