pref: Pad 消息界面
This commit is contained in:
parent
ffafd9d106
commit
d231519e24
|
|
@ -37,6 +37,7 @@ import com.huanchengfly.tieba.post.ui.page.destinations.ThreadPageDestination
|
|||
import com.huanchengfly.tieba.post.ui.widgets.compose.Avatar
|
||||
import com.huanchengfly.tieba.post.ui.widgets.compose.BlockTip
|
||||
import com.huanchengfly.tieba.post.ui.widgets.compose.BlockableContent
|
||||
import com.huanchengfly.tieba.post.ui.widgets.compose.Container
|
||||
import com.huanchengfly.tieba.post.ui.widgets.compose.EmoticonText
|
||||
import com.huanchengfly.tieba.post.ui.widgets.compose.LazyLoad
|
||||
import com.huanchengfly.tieba.post.ui.widgets.compose.LoadMoreLayout
|
||||
|
|
@ -103,8 +104,8 @@ fun NotificationsListPage(
|
|||
items(
|
||||
items = data,
|
||||
key = { "${it.info.postId}_${it.info.replyer?.id}_${it.info.time}" },
|
||||
) {
|
||||
val (info, blocked) = it
|
||||
) { (info, blocked) ->
|
||||
Container {
|
||||
BlockableContent(
|
||||
blocked = blocked,
|
||||
blockedTip = {
|
||||
|
|
@ -151,7 +152,8 @@ fun NotificationsListPage(
|
|||
},
|
||||
name = {
|
||||
Text(
|
||||
text = info.replyer.nameShow ?: info.replyer.name ?: ""
|
||||
text = info.replyer.nameShow ?: info.replyer.name
|
||||
?: ""
|
||||
)
|
||||
},
|
||||
onClick = {
|
||||
|
|
@ -221,6 +223,7 @@ fun NotificationsListPage(
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
PullRefreshIndicator(
|
||||
refreshing = isRefreshing,
|
||||
|
|
|
|||
Loading…
Reference in New Issue