diff --git a/CHANGELOG.md b/CHANGELOG.md index 19562bce0..c2a945c33 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +## [5.31.1-dev.1](https://github.com/ReVanced/revanced-patches/compare/v5.31.0...v5.31.1-dev.1) (2025-07-11) + + +### Bug Fixes + +* **Spotify - Unlock Premium:** Fix hiding context menu ads for latest version ([#5415](https://github.com/ReVanced/revanced-patches/issues/5415)) ([dcde393](https://github.com/ReVanced/revanced-patches/commit/dcde3935bde3172576d0f9f5ff9eb62ecfff7dfe)) + # [5.31.0](https://github.com/ReVanced/revanced-patches/compare/v5.30.0...v5.31.0) (2025-07-11) diff --git a/gradle.properties b/gradle.properties index 2c8f289d3..b1518f908 100644 --- a/gradle.properties +++ b/gradle.properties @@ -3,4 +3,4 @@ org.gradle.jvmargs = -Xms512M -Xmx2048M org.gradle.parallel = true android.useAndroidX = true kotlin.code.style = official -version = 5.31.0 +version = 5.31.1-dev.1 diff --git a/patches/src/main/kotlin/app/revanced/patches/spotify/misc/Fingerprints.kt b/patches/src/main/kotlin/app/revanced/patches/spotify/misc/Fingerprints.kt index 4fc811175..2d7155a53 100644 --- a/patches/src/main/kotlin/app/revanced/patches/spotify/misc/Fingerprints.kt +++ b/patches/src/main/kotlin/app/revanced/patches/spotify/misc/Fingerprints.kt @@ -49,8 +49,8 @@ internal val contextMenuViewModelConstructorFingerprint = fingerprint { /** * Used to find the interface name of a context menu item. */ -internal val browsePodcastsContextMenuItemClassFingerprint = fingerprint { - strings("browse_podcast_item", "ui_navigate") +internal val removeAdsContextMenuItemClassFingerprint = fingerprint { + strings("remove_ads_item", "ui_navigate") } internal const val CONTEXT_MENU_ITEM_CLASS_DESCRIPTOR_PLACEHOLDER = "Lapp/revanced/ContextMenuItemPlaceholder;" diff --git a/patches/src/main/resources/addresources/values/strings.xml b/patches/src/main/resources/addresources/values/strings.xml index f66de4941..f2e0a1ff3 100644 --- a/patches/src/main/resources/addresources/values/strings.xml +++ b/patches/src/main/resources/addresources/values/strings.xml @@ -765,9 +765,9 @@ To show the Audio track menu, change \'Spoof video streams\' to iOS TV" Hide Cast button Cast button is hidden Cast button is shown - Hide player control buttons background - Player control buttons background is hidden - Player control buttons background is shown + Hide player controls background + Player controls background is hidden + Player controls background is shown Hide Previous & Next buttons Buttons are hidden Buttons are shown