fix: reply listview rebuild

This commit is contained in:
guozhigq
2023-06-21 22:30:54 +08:00
parent 53d873f89b
commit fbe1dfef18
4 changed files with 94 additions and 99 deletions

View File

@ -153,7 +153,7 @@ class _VideoReplyPanelState extends State<VideoReplyPanel>
.bottom),
height:
MediaQuery.of(context).padding.bottom +
60,
100,
child: Center(
child: Obx(() => Text(
_videoReplyController.noMore.value)),
@ -219,10 +219,9 @@ class _VideoReplyPanelState extends State<VideoReplyPanel>
);
},
).then((value) => {
// 完成评论,数据添加
_videoReplyController
.replyList.add(value['data'])
});
// 完成评论,数据添加
_videoReplyController.replyList.add(value['data'])
});
},
tooltip: '发表评论',
child: const Icon(Icons.reply),