Skip to content
This repository has been archived by the owner on Jan 17, 2025. It is now read-only.

Commit

Permalink
fix: get whisper content
Browse files Browse the repository at this point in the history
related #170

Signed-off-by: bggRGjQaUbCoE <[email protected]>
  • Loading branch information
bggRGjQaUbCoE committed Jan 15, 2025
1 parent b9d2233 commit 0f7be5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pages/whisper/view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ class _WhisperPageState extends State<WhisperPage> {
physics: const NeverScrollableScrollPhysics(),
itemBuilder: (context, int i) {
dynamic content =
sessionList[i].lastMsg.content;
sessionList[i]?.lastMsg?.content;
if (content == null || content == "") {
content = '不支持的消息类型';
} else {
Expand Down

0 comments on commit 0f7be5e

Please sign in to comment.