fix: 修复消息中心跳转问题
This commit is contained in:
@ -627,13 +627,13 @@ class MessageListAdapter(
|
||||
else -> {
|
||||
val entity = LinkEntity()
|
||||
entity.type = data.type
|
||||
if (TextUtils.isEmpty(data.id)) {
|
||||
if (!TextUtils.isEmpty(data.id)) {
|
||||
entity.link = data.id
|
||||
}
|
||||
if (TextUtils.isEmpty(data.url)) {
|
||||
if (!TextUtils.isEmpty(data.url)) {
|
||||
entity.link = data.url
|
||||
}
|
||||
if (TextUtils.isEmpty(data.document)) {
|
||||
if (!TextUtils.isEmpty(data.document)) {
|
||||
entity.text = data.document
|
||||
}
|
||||
entity.community = data.community
|
||||
|
||||
Reference in New Issue
Block a user