mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
fix: 无障碍控件错误导致评论区分行
This commit is contained in:
@@ -541,13 +541,9 @@ InlineSpan buildContent(
|
||||
final RegExp pattern = RegExp(patternStr);
|
||||
List<String> 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,
|
||||
|
||||
Reference in New Issue
Block a user