基于自定义规则的番剧采集APP,支持流媒体在线观看,支持弹幕,支持实时超分辨率。
fix(ui): comments and svg appearance (#780)
ErBW_s7a24b277a4f2
diff --git a/lib/bean/card/character_comments_card.dart b/lib/bean/card/character_comments_card.dartindex fa1872f2..3db70e7b 100644--- a/lib/bean/card/character_comments_card.dart+++ b/lib/bean/card/character_comments_card.dart@@ -40,6 +40,9 @@ class CharacterCommentsCard extends StatelessWidget {BBCodeWidget(bbcode: commentItem.comment.comment),if (commentItem.replies.isNotEmpty)ListView.builder(+ // Don't know why but some device has bottom padding,+ // needs to set to 0 manually.+ padding: const EdgeInsets.only(bottom: 0),physics: const NeverScrollableScrollPhysics(),shrinkWrap: true,itemCount: commentItem.replies.length,diff --git a/lib/bean/card/episode_comments_card.dart b/lib/bean/card/episode_comments_card.dartindex fe1642e8..7061ec9f 100644--- a/lib/bean/card/episode_comments_card.dart+++ b/lib/bean/card/episode_comments_card.dart@@ -40,6 +40,9 @@ class EpisodeCommentsCard extends StatelessWidget {BBCodeWidget(bbcode: commentItem.comment.comment),if (commentItem.replies.isNotEmpty)ListView.builder(+ // Don't know why but ohos has bottom padding,+ // needs to set to 0 manually.+ padding: const EdgeInsets.only(bottom: 0),physics: const NeverScrollableScrollPhysics(),shrinkWrap: true,itemCount: commentItem.replies.length,diff --git a/lib/pages/player/player_item_panel.dart b/lib/pages/player/player_item_panel.dartindex 714d95db..8a6c9247 100644--- a/lib/pages/player/player_item_panel.dart+++ b/lib/pages/player/player_item_panel.dart@@ -309,7 +309,7 @@ class _PlayerItemPanelState extends State<PlayerItemPanel> {@overrideWidget build(BuildContext context) {final svgString = danmakuOnSvg.replaceFirst(- '#00AEEC',+ '00AEEC',Theme.of(context).colorScheme.primarydiff --git a/lib/pages/player/smallest_player_item_panel.dart b/lib/pages/player/smallest_player_item_panel.dartindex 754a7766..ba53fc33 100644--- a/lib/pages/player/smallest_player_item_panel.dart+++ b/lib/pages/player/smallest_player_item_panel.dart@@ -162,7 +162,7 @@ class _SmallestPlayerItemPanelState extends State<SmallestPlayerItemPanel> {@overrideWidget build(BuildContext context) {final svgString = danmakuOnSvg.replaceFirst(- '#00AEEC',+ '00AEEC',Theme.of(context).colorScheme.primary