mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-19 08:36:17 +08:00
fix: 无障碍控件错误导致评论区分行
This commit is contained in:
@@ -541,13 +541,9 @@ InlineSpan buildContent(
|
|||||||
final RegExp pattern = RegExp(patternStr);
|
final RegExp pattern = RegExp(patternStr);
|
||||||
List<String> matchedStrs = [];
|
List<String> matchedStrs = [];
|
||||||
void addPlainTextSpan(str) {
|
void addPlainTextSpan(str) {
|
||||||
spanChilds.add(WidgetSpan(
|
spanChilds.add(TextSpan(
|
||||||
alignment: PlaceholderAlignment.middle,
|
text: str,
|
||||||
child: ExcludeSemantics(
|
));
|
||||||
child: Text(
|
|
||||||
str,
|
|
||||||
style: const TextStyle(height: 1.75),
|
|
||||||
))));
|
|
||||||
// TextSpan(
|
// TextSpan(
|
||||||
//
|
//
|
||||||
// text: str,
|
// text: str,
|
||||||
|
|||||||
Reference in New Issue
Block a user