fix: 没有评论时,长时间显示骨架屏

This commit is contained in:
orz12
2024-08-17 09:14:05 +08:00
parent 1fa75a1ad9
commit dc19a4776b

View File

@@ -188,7 +188,9 @@ class _VideoReplyPanelState extends State<VideoReplyPanel>
),
Obx(
() => _videoReplyController.isLoadingMore &&
_videoReplyController.replyList.isEmpty
_videoReplyController.replyList.isEmpty &&
(_videoReplyController.noMore.value == '' ||
_videoReplyController.noMore.value == '加载中...')
? SliverList(
delegate: SliverChildBuilderDelegate(
(BuildContext context, index) {