From bc4da5d90050d5d2c1f039cb0e2ff61153e1c21e Mon Sep 17 00:00:00 2001 From: inotia00 <108592928+inotia00@users.noreply.github.com> Date: Sun, 16 Mar 2025 12:49:16 +0900 Subject: [PATCH] fix(YouTube - Seekbar components): Runtime exception thrown due to incorrect patching method --- .../patches/youtube/player/seekbar/SeekbarComponentsPatch.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patches/src/main/kotlin/app/revanced/patches/youtube/player/seekbar/SeekbarComponentsPatch.kt b/patches/src/main/kotlin/app/revanced/patches/youtube/player/seekbar/SeekbarComponentsPatch.kt index 9372f471f..441ec5f4c 100644 --- a/patches/src/main/kotlin/app/revanced/patches/youtube/player/seekbar/SeekbarComponentsPatch.kt +++ b/patches/src/main/kotlin/app/revanced/patches/youtube/player/seekbar/SeekbarComponentsPatch.kt @@ -388,7 +388,7 @@ val seekbarComponentsPatch = bytecodePatch( scaleNode.replaceChild(replacementNode, shapeNode) } - if (is_19_25_or_greater && !restoreOldSplashAnimationIncluded) { + if (is_19_25_or_greater) { // Add attribute and styles for splash screen custom color. // Using a style is the only way to selectively change just the seekbar fill color. //