chore: cleanup

This commit is contained in:
rebelonion 2024-02-08 05:11:28 -06:00
parent b829ed26f3
commit 92c663cd38
2 changed files with 9 additions and 9 deletions

View file

@ -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) }