Mdlist only set the status to reading if Unfollowed
This commit is contained in:
parent
21240cad06
commit
d255ee805b
@ -89,7 +89,7 @@ class MdList(private val context: Context, id: Int) : TrackService(id) {
|
|||||||
|
|
||||||
override fun getCompletionStatus(): Int = FollowStatus.COMPLETED.int
|
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 {
|
override suspend fun refresh(track: Track): Track {
|
||||||
return withIOContext {
|
return withIOContext {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user