opt msg text

opt noti

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-05-31 16:46:30 +08:00
parent 19bbdaac65
commit 91fe0492c1
3 changed files with 16 additions and 18 deletions

View File

@@ -241,18 +241,21 @@ class ChatItem extends StatelessWidget {
fontWeight: FontWeight.bold,
),
),
const SizedBox(height: 1),
SelectableText(
content['summary'] ?? "",
style: TextStyle(
letterSpacing: 0.6,
height: 1.5,
color: textColor.withValues(alpha: 0.6),
fontSize: 12,
overflow: TextOverflow.ellipsis,
if (content['summary'] != null && content['summary'] != '') ...[
const SizedBox(height: 1),
SelectableText(
scrollPhysics: const NeverScrollableScrollPhysics(),
content['summary'],
style: TextStyle(
letterSpacing: 0.6,
height: 1.5,
color: textColor.withValues(alpha: 0.6),
fontSize: 12,
overflow: TextOverflow.ellipsis,
),
maxLines: 2,
),
maxLines: 2,
),
],
],
),
);