Skip to content

Commit 03d0eb2

Browse files
fix(Spotify - Custom theme): Support latest app target (#4800)
1 parent ffc74be commit 03d0eb2

File tree

1 file changed

+4
-1
lines changed
  • patches/src/main/kotlin/app/revanced/patches/spotify/layout/theme

1 file changed

+4
-1
lines changed

patches/src/main/kotlin/app/revanced/patches/spotify/layout/theme/Fingerprints.kt

+4-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@ import app.revanced.util.containsLiteralInstruction
55
import com.android.tools.smali.dexlib2.AccessFlags
66

77
internal val encoreThemeFingerprint = fingerprint {
8-
strings("No EncoreLayoutTheme provided")
8+
strings("Encore theme was not provided.") // Partial string match.
9+
custom { method, _ ->
10+
method.name == "invoke"
11+
}
912
}
1013

1114
internal const val PLAYLIST_BACKGROUND_COLOR_LITERAL = 0xFF121212

0 commit comments

Comments
 (0)