chore: cleanup
This commit is contained in:
parent
b829ed26f3
commit
92c663cd38
2 changed files with 9 additions and 9 deletions
|
@ -96,7 +96,7 @@ class AnilistHomeViewModel : ViewModel() {
|
|||
|
||||
fun getRecommendation(): LiveData<ArrayList<Media>> = recommendation
|
||||
suspend fun setRecommendation() = recommendation.postValue(Anilist.query.recommendations())
|
||||
|
||||
|
||||
suspend fun initHomePage() {
|
||||
val res = Anilist.query.initHomePage()
|
||||
res["currentAnime"]?.let { animeContinue.postValue(it) }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue