fix: had the heart icons inverted
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user