mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
opt: reply item
This commit is contained in:
@@ -295,13 +295,6 @@ class ReplyItemGrpc extends StatelessWidget {
|
||||
textPainter,
|
||||
didExceedMaxLines,
|
||||
),
|
||||
if (didExceedMaxLines)
|
||||
TextSpan(
|
||||
text: '\n查看更多',
|
||||
style: TextStyle(
|
||||
color: Theme.of(context).colorScheme.primary,
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
@@ -940,6 +933,18 @@ InlineSpan buildContent(
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (didExceedMaxLines == true) {
|
||||
spanChildren.add(
|
||||
TextSpan(
|
||||
text: '\n查看更多',
|
||||
style: TextStyle(
|
||||
color: Theme.of(context).colorScheme.primary,
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
// 图片渲染
|
||||
if (content.pictures.isNotEmpty) {
|
||||
spanChildren.add(const TextSpan(text: '\n'));
|
||||
|
||||
Reference in New Issue
Block a user