新增评论回复功能
- 允许用户回复评论和子评论 - 点击回复按钮,弹出评论框,并显示回复的用户 - 评论 列表中显示回复的用户和内容 - 点击回复内容中的用户名,跳转到用户主页 - 优化评论列表加载逻辑,支持加载更多子评论
This commit is contained in:
@@ -132,12 +132,6 @@ fun NavigationController(
|
||||
composable(
|
||||
route = NavigationRoute.Post.route,
|
||||
arguments = listOf(navArgument("id") { type = NavType.StringType }),
|
||||
enterTransition = {
|
||||
fadeIn(animationSpec = tween(durationMillis = 50))
|
||||
},
|
||||
exitTransition = {
|
||||
fadeOut(animationSpec = tween(durationMillis = 50))
|
||||
}
|
||||
) { backStackEntry ->
|
||||
CompositionLocalProvider(
|
||||
LocalAnimatedContentScope provides this,
|
||||
@@ -165,13 +159,6 @@ fun NavigationController(
|
||||
}
|
||||
composable(
|
||||
route = NavigationRoute.NewPost.route,
|
||||
enterTransition = {
|
||||
|
||||
fadeIn(animationSpec = tween(durationMillis = 100))
|
||||
},
|
||||
exitTransition = {
|
||||
fadeOut(animationSpec = tween(durationMillis = 100))
|
||||
}
|
||||
) {
|
||||
NewPostScreen()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user