mirror of
https://github.com/antebudimir/tempus.git
synced 2026-01-01 18:03:33 +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 (!showShuffle) {
|
||||||
if (player.currentMediaItem != null && !isRatingPending) {
|
if (player.currentMediaItem != null && !isRatingPending) {
|
||||||
// Heart button
|
|
||||||
if ((player.mediaMetadata.userRating as HeartRating?)?.isHeart == true) {
|
if ((player.mediaMetadata.userRating as HeartRating?)?.isHeart == true) {
|
||||||
customLayout.add(customCommandToggleHeartOff)
|
|
||||||
} else {
|
|
||||||
customLayout.add(customCommandToggleHeartOn)
|
customLayout.add(customCommandToggleHeartOn)
|
||||||
|
} else {
|
||||||
|
customLayout.add(customCommandToggleHeartOff)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue