feat(profile page): something

This commit is contained in:
aayush262 2024-03-02 23:30:32 +05:30
parent 86ed721796
commit 790ab1a343
3 changed files with 56 additions and 106 deletions

View file

@ -99,8 +99,6 @@ class ProfileActivity : AppCompatActivity(){
)
}
binding.profileUserName.text = "${user.name} $userLevel"
binding.profileUserEpisodesWatched.text = user.statistics.anime.episodesWatched.toString()
binding.profileUserChaptersRead.text = user.statistics.manga.chaptersRead.toString()
if (!(PrefManager.getVal(PrefName.BannerAnimations) as Boolean)) binding.profileBannerImage.pause()
binding.profileBannerImage.loadImage(user.bannerImage)
binding.profileBannerImage.updateLayoutParams { height += statusBarHeight }