修改头像昵称获取方式,修改接口地址

This commit is contained in:
2025-09-03 11:41:28 +08:00
parent 288728f142
commit a950504d6f
2 changed files with 4 additions and 4 deletions

View File

@@ -285,7 +285,7 @@ fun LikeCommentNoticeItem(
) {
CustomAsyncImage(
context = context,
imageUrl = MyProfileViewModel.avatar,
imageUrl = AppState.profile?.avatar ?: "",
contentDescription = "Comment Profile Picture",
modifier = Modifier
.size(24.dp)
@@ -298,7 +298,7 @@ fun LikeCommentNoticeItem(
modifier = Modifier.weight(1f)
) {
Text(
text = MyProfileViewModel.nickName,
text = AppState.profile?.nickName ?: "",
fontWeight = FontWeight.W600,
fontSize = 14.sp,
color = AppColors.text