@ -25,6 +25,6 @@ class TracksRepository(override val context: Context?, albumId: Int) : Repositor
data.map { track ->
track.favorite = favorites.contains(track.id)
track
}
}.sortedBy { it.position }
@ -75,6 +75,7 @@ data class Track(
val title: String,
val artist: Artist,
val album: Album,
val position: Int,
val uploads: List<Upload>
) {
var current: Boolean = false