Skip to content

Commit d36ba9d

Browse files
committed
Forgot to remove this
1 parent af77a3c commit d36ba9d

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

patches/src/main/kotlin/app/revanced/patches/spotify/misc/lyrics/ChangeLyricsProviderPatch.kt

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import app.revanced.patcher.extensions.InstructionExtensions.replaceInstruction
66
import app.revanced.patcher.patch.bytecodePatch
77
import app.revanced.patcher.patch.stringOption
88
import app.revanced.patcher.util.proxy.mutableTypes.MutableMethod
9-
import app.revanced.patches.spotify.shared.IS_SPOTIFY_LEGACY_APP_TARGET
109
import app.revanced.util.getReference
1110
import app.revanced.util.indexOfFirstInstructionOrThrow
1211
import app.revanced.util.indexOfFirstInstructionReversedOrThrow
@@ -57,13 +56,6 @@ val changeLyricsProviderPatch = bytecodePatch(
5756
}
5857

5958
execute {
60-
if (IS_SPOTIFY_LEGACY_APP_TARGET) {
61-
Logger.getLogger(this::class.java.name).severe(
62-
"Change lyrics provider patch is not supported for this target version."
63-
)
64-
return@execute
65-
}
66-
6759
val httpClientBuilderMethod = httpClientBuilderFingerprint.originalMethod
6860

6961
// region Create a modified copy of the HTTP client builder method with the custom lyrics provider host.

0 commit comments

Comments
 (0)