auth to server-V33
This commit is contained in:
parent
28915ad0d9
commit
b22cd77b61
1 changed files with 4 additions and 5 deletions
|
|
@ -150,13 +150,12 @@ fun Loaded_setting_profile_page(
|
|||
){
|
||||
Spacer(modifier = Modifier.width(36.dp))
|
||||
//user avatar
|
||||
Image(
|
||||
painter = painterResource(id = R.drawable.avatar_v1), // 把 JPG 放在 res/drawable
|
||||
contentDescription = "avatar",
|
||||
AsyncImage(
|
||||
model = profile.avatar_url,
|
||||
contentDescription = "Avatar of ${profile.display_name}",
|
||||
modifier = Modifier
|
||||
.size(avatarSize)
|
||||
.clip(CircleShape)
|
||||
,
|
||||
.clip(CircleShape),
|
||||
contentScale = ContentScale.Crop
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue