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))
|
Spacer(modifier = Modifier.width(36.dp))
|
||||||
//user avatar
|
//user avatar
|
||||||
Image(
|
AsyncImage(
|
||||||
painter = painterResource(id = R.drawable.avatar_v1), // 把 JPG 放在 res/drawable
|
model = profile.avatar_url,
|
||||||
contentDescription = "avatar",
|
contentDescription = "Avatar of ${profile.display_name}",
|
||||||
modifier = Modifier
|
modifier = Modifier
|
||||||
.size(avatarSize)
|
.size(avatarSize)
|
||||||
.clip(CircleShape)
|
.clip(CircleShape),
|
||||||
,
|
|
||||||
contentScale = ContentScale.Crop
|
contentScale = ContentScale.Crop
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue