修改头像昵称获取方式,修改接口地址
This commit is contained in:
@@ -4,8 +4,8 @@ object ConstVars {
|
|||||||
// api 地址
|
// api 地址
|
||||||
// const val BASE_SERVER = "http://192.168.31.131:8088"
|
// const val BASE_SERVER = "http://192.168.31.131:8088"
|
||||||
// const val BASE_SERVER = "http://192.168.142.141:8088"
|
// const val BASE_SERVER = "http://192.168.142.141:8088"
|
||||||
// const val BASE_SERVER = "https://8.137.22.101:8088"
|
const val BASE_SERVER = "http://192.168.0.228:8088"
|
||||||
const val BASE_SERVER = "https://rider-pro.aiosman.com/beta_api"
|
// const val BASE_SERVER = "https://rider-pro.aiosman.com/beta_api"
|
||||||
|
|
||||||
const val MOMENT_LIKE_CHANNEL_ID = "moment_like"
|
const val MOMENT_LIKE_CHANNEL_ID = "moment_like"
|
||||||
const val MOMENT_LIKE_CHANNEL_NAME = "Moment Like"
|
const val MOMENT_LIKE_CHANNEL_NAME = "Moment Like"
|
||||||
|
|||||||
@@ -285,7 +285,7 @@ fun LikeCommentNoticeItem(
|
|||||||
) {
|
) {
|
||||||
CustomAsyncImage(
|
CustomAsyncImage(
|
||||||
context = context,
|
context = context,
|
||||||
imageUrl = MyProfileViewModel.avatar,
|
imageUrl = AppState.profile?.avatar ?: "",
|
||||||
contentDescription = "Comment Profile Picture",
|
contentDescription = "Comment Profile Picture",
|
||||||
modifier = Modifier
|
modifier = Modifier
|
||||||
.size(24.dp)
|
.size(24.dp)
|
||||||
@@ -298,7 +298,7 @@ fun LikeCommentNoticeItem(
|
|||||||
modifier = Modifier.weight(1f)
|
modifier = Modifier.weight(1f)
|
||||||
) {
|
) {
|
||||||
Text(
|
Text(
|
||||||
text = MyProfileViewModel.nickName,
|
text = AppState.profile?.nickName ?: "",
|
||||||
fontWeight = FontWeight.W600,
|
fontWeight = FontWeight.W600,
|
||||||
fontSize = 14.sp,
|
fontSize = 14.sp,
|
||||||
color = AppColors.text
|
color = AppColors.text
|
||||||
|
|||||||
Reference in New Issue
Block a user