feat(profile page): something
This commit is contained in:
parent
86ed721796
commit
790ab1a343
3 changed files with 56 additions and 106 deletions
|
@ -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 }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue