Mdlist only set the status to reading if Unfollowed

This commit is contained in:
Jobobby04 2021-03-12 10:02:47 -05:00
parent 21240cad06
commit d255ee805b

View File

@ -89,7 +89,7 @@ class MdList(private val context: Context, id: Int) : TrackService(id) {
override fun getCompletionStatus(): Int = FollowStatus.COMPLETED.int
override suspend fun bind(track: Track): Track = update(refresh(track).also { it.status = FollowStatus.READING.int })
override suspend fun bind(track: Track): Track = update(refresh(track).also { if (it.status == FollowStatus.UNFOLLOWED.int) it.status = FollowStatus.READING.int })
override suspend fun refresh(track: Track): Track {
return withIOContext {