Merge remote-tracking branch 'upstream/main'

This commit is contained in:
orz12
2024-02-26 09:26:46 +08:00
40 changed files with 1929 additions and 357 deletions

View File

@@ -358,7 +358,9 @@ class ChatItem extends StatelessWidget {
));
default:
return Text(
content['content'] ?? content.toString(),
content != null && content != ''
? (content['content'] ?? content.toString())
: '不支持的消息类型',
style: TextStyle(
letterSpacing: 0.6,
height: 1.5,