mirror of
https://github.com/antebudimir/tempus.git
synced 2025-12-31 17:43:32 +00:00
fix: had the heart icons inverted
This commit is contained in:
parent
3c58e6fbb2
commit
30281e8f2d
1 changed files with 2 additions and 3 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue