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.Avatar
|
||||||
import com.huanchengfly.tieba.post.ui.widgets.compose.BlockTip
|
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.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.EmoticonText
|
||||||
import com.huanchengfly.tieba.post.ui.widgets.compose.LazyLoad
|
import com.huanchengfly.tieba.post.ui.widgets.compose.LazyLoad
|
||||||
import com.huanchengfly.tieba.post.ui.widgets.compose.LoadMoreLayout
|
import com.huanchengfly.tieba.post.ui.widgets.compose.LoadMoreLayout
|
||||||
|
|
@ -103,8 +104,8 @@ fun NotificationsListPage(
|
||||||
items(
|
items(
|
||||||
items = data,
|
items = data,
|
||||||
key = { "${it.info.postId}_${it.info.replyer?.id}_${it.info.time}" },
|
key = { "${it.info.postId}_${it.info.replyer?.id}_${it.info.time}" },
|
||||||
) {
|
) { (info, blocked) ->
|
||||||
val (info, blocked) = it
|
Container {
|
||||||
BlockableContent(
|
BlockableContent(
|
||||||
blocked = blocked,
|
blocked = blocked,
|
||||||
blockedTip = {
|
blockedTip = {
|
||||||
|
|
@ -151,7 +152,8 @@ fun NotificationsListPage(
|
||||||
},
|
},
|
||||||
name = {
|
name = {
|
||||||
Text(
|
Text(
|
||||||
text = info.replyer.nameShow ?: info.replyer.name ?: ""
|
text = info.replyer.nameShow ?: info.replyer.name
|
||||||
|
?: ""
|
||||||
)
|
)
|
||||||
},
|
},
|
||||||
onClick = {
|
onClick = {
|
||||||
|
|
@ -221,6 +223,7 @@ fun NotificationsListPage(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
PullRefreshIndicator(
|
PullRefreshIndicator(
|
||||||
refreshing = isRefreshing,
|
refreshing = isRefreshing,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue