From 2393d0a8f5d12a0c7b29f5e876c8e9d62e80e16e Mon Sep 17 00:00:00 2001 From: LisoUseInAIKyrios <118716522+LisoUseInAIKyrios@users.noreply.github.com> Date: Tue, 15 Apr 2025 18:30:55 +0200 Subject: [PATCH] fix(Spotify - Custom theme): Support latest app target (#4800) --- .../revanced/patches/spotify/layout/theme/Fingerprints.kt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/patches/src/main/kotlin/app/revanced/patches/spotify/layout/theme/Fingerprints.kt b/patches/src/main/kotlin/app/revanced/patches/spotify/layout/theme/Fingerprints.kt index ce4840283..355422477 100644 --- a/patches/src/main/kotlin/app/revanced/patches/spotify/layout/theme/Fingerprints.kt +++ b/patches/src/main/kotlin/app/revanced/patches/spotify/layout/theme/Fingerprints.kt @@ -5,7 +5,10 @@ import app.revanced.util.containsLiteralInstruction import com.android.tools.smali.dexlib2.AccessFlags internal val encoreThemeFingerprint = fingerprint { - strings("No EncoreLayoutTheme provided") + strings("Encore theme was not provided.") // Partial string match. + custom { method, _ -> + method.name == "invoke" + } } internal const val PLAYLIST_BACKGROUND_COLOR_LITERAL = 0xFF121212