feat: filter lists by genre
This commit is contained in:
parent
ff036165df
commit
9e371778b7
5 changed files with 46 additions and 2 deletions
|
@ -109,6 +109,7 @@ data class Media(
|
|||
this.userScore = mediaList.score?.toInt() ?: 0
|
||||
this.userStatus = mediaList.status?.toString()
|
||||
this.userUpdatedAt = mediaList.updatedAt?.toLong()
|
||||
this.genres = mediaList.media?.genres?.toMutableList() as? ArrayList<String>? ?: arrayListOf()
|
||||
}
|
||||
|
||||
constructor(mediaEdge: MediaEdge) : this(mediaEdge.node!!) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue