mirror of
https://github.com/JustinZeus/Wholphin.git
synced 2026-07-08 15:50:16 +02:00
Show music video watch status on artist & album pages (#1209)
## Description Show the watched indicator and favorite icon on music videos on both the artist or album detail pages. ### Related issues Fixes #1206 ### Testing Quick emulator testing ## Screenshots N/A, same indicators as the rest of the app ## AI or LLM usage None
This commit is contained in:
parent
ac13ce5713
commit
edaf06afd0
2 changed files with 6 additions and 0 deletions
|
|
@ -539,6 +539,9 @@ fun AlbumDetailsPage(
|
||||||
onClick = onClick,
|
onClick = onClick,
|
||||||
onLongClick = onLongClick,
|
onLongClick = onLongClick,
|
||||||
aspectRatio = AspectRatios.WIDE,
|
aspectRatio = AspectRatios.WIDE,
|
||||||
|
played = item?.played ?: false,
|
||||||
|
playPercent = item?.data?.userData?.playedPercentage ?: 0.0,
|
||||||
|
favorite = item?.favorite ?: false,
|
||||||
modifier = mod,
|
modifier = mod,
|
||||||
)
|
)
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -568,6 +568,9 @@ fun ArtistDetailsPage(
|
||||||
onClick = onClick,
|
onClick = onClick,
|
||||||
onLongClick = onLongClick,
|
onLongClick = onLongClick,
|
||||||
aspectRatio = AspectRatios.WIDE,
|
aspectRatio = AspectRatios.WIDE,
|
||||||
|
played = item?.played ?: false,
|
||||||
|
playPercent = item?.data?.userData?.playedPercentage ?: 0.0,
|
||||||
|
favorite = item?.favorite ?: false,
|
||||||
modifier = mod,
|
modifier = mod,
|
||||||
)
|
)
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue