fix: profile recyclerViews
This commit is contained in:
parent
4ba1408f0f
commit
46d8248ffd
2 changed files with 29 additions and 19 deletions
|
@ -353,6 +353,11 @@ class ProfileViewModel : ViewModel(){
|
|||
mangaFav.postValue(Anilist.query.userFavMedia(false, id))
|
||||
animeFav.postValue(Anilist.query.userFavMedia(true, id))
|
||||
listImages.postValue(Anilist.query.getUserBannerImages(id))
|
||||
}
|
||||
|
||||
fun refresh() {
|
||||
mangaFav.postValue(mangaFav.value)
|
||||
animeFav.postValue(animeFav.value)
|
||||
listImages.postValue(listImages.value)
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue