From 816b4658a90d698a39858ea9c3c8d687b46f9592 Mon Sep 17 00:00:00 2001 From: orz12 Date: Wed, 13 Mar 2024 20:26:40 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=97=A0=E9=9A=9C=E7=A2=8D=E6=8E=A7?= =?UTF-8?q?=E4=BB=B6=E9=94=99=E8=AF=AF=E5=AF=BC=E8=87=B4=E8=AF=84=E8=AE=BA?= =?UTF-8?q?=E5=8C=BA=E5=88=86=E8=A1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/pages/video/detail/reply/widgets/reply_item.dart | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/lib/pages/video/detail/reply/widgets/reply_item.dart b/lib/pages/video/detail/reply/widgets/reply_item.dart index 41eefa8f..2e764b60 100644 --- a/lib/pages/video/detail/reply/widgets/reply_item.dart +++ b/lib/pages/video/detail/reply/widgets/reply_item.dart @@ -541,13 +541,9 @@ InlineSpan buildContent( final RegExp pattern = RegExp(patternStr); List matchedStrs = []; void addPlainTextSpan(str) { - spanChilds.add(WidgetSpan( - alignment: PlaceholderAlignment.middle, - child: ExcludeSemantics( - child: Text( - str, - style: const TextStyle(height: 1.75), - )))); + spanChilds.add(TextSpan( + text: str, + )); // TextSpan( // // text: str,