fix: had the heart icons inverted

This commit is contained in:
eddyizm 2025-10-06 15:32:54 -07:00
parent 3c58e6fbb2
commit 30281e8f2d
No known key found for this signature in database
GPG key ID: CF5F671829E8158A

View file

@ -185,11 +185,10 @@ open class MediaLibrarySessionCallback(
if (!showShuffle) {
if (player.currentMediaItem != null && !isRatingPending) {
// Heart button
if ((player.mediaMetadata.userRating as HeartRating?)?.isHeart == true) {
customLayout.add(customCommandToggleHeartOff)
} else {
customLayout.add(customCommandToggleHeartOn)
} else {
customLayout.add(customCommandToggleHeartOff)
}
}
} else {