基于自定义规则的番剧采集APP,支持流媒体在线观看,支持弹幕,支持实时超分辨率。
修复了 Bagumi 中用户评论删除,但 Kazumi 中显示空白的 BUG (#1414)
Ferneab6489cf2a27
diff --git a/lib/bean/card/episode_comments_card.dart b/lib/bean/card/episode_comments_card.dartindex 1d2f28fe..a0fafe8c 100644--- a/lib/bean/card/episode_comments_card.dart+++ b/lib/bean/card/episode_comments_card.dart@@ -13,6 +13,12 @@ class EpisodeCommentsCard extends StatelessWidget {@overrideWidget build(BuildContext context) {+ // 对 用户评论 做判空操作,如果为空则显示“用户已删除”+ String userComment = commentItem.comment.comment;+ if (userComment.isEmpty) {+ userComment = "<用户已删除>";+ }+return Card(// color: Theme.of(context).colorScheme.secondaryContainer,child: Padding(@@ -37,7 +43,7 @@ class EpisodeCommentsCard extends StatelessWidget {],),const SizedBox(height: 8),- BBCodeWidget(bbcode: commentItem.comment.comment),+ BBCodeWidget(bbcode: userComment),if (commentItem.replies.isNotEmpty)ListView.builder(// Don't know why but ohos has bottom padding,