更新用户资料Banner图片显示逻辑
This commit is contained in:
@@ -55,7 +55,12 @@ data class AccountProfile(
|
||||
bio = bio,
|
||||
country = "Worldwide",
|
||||
isFollowing = isFollowing,
|
||||
banner = "${ApiClient.BASE_SERVER}$banner"
|
||||
banner = banner.let {
|
||||
if (!it.isNullOrEmpty()) {
|
||||
return@let "${ApiClient.BASE_SERVER}$it"
|
||||
}
|
||||
null
|
||||
}
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user