mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
fix: 消息页没有头像的容错(例如会员购的支付小助手)
This commit is contained in:
@@ -201,11 +201,11 @@ class _WhisperPageState extends State<WhisperPage> {
|
|||||||
width: 45,
|
width: 45,
|
||||||
height: 45,
|
height: 45,
|
||||||
type: 'avatar',
|
type: 'avatar',
|
||||||
src: sessionList[i].accountInfo.face,
|
src: sessionList[i].accountInfo?.face,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
title:
|
title: Text(
|
||||||
Text(sessionList[i].accountInfo.name),
|
sessionList[i].accountInfo?.name ?? ""),
|
||||||
subtitle: Text(content,
|
subtitle: Text(content,
|
||||||
maxLines: 1,
|
maxLines: 1,
|
||||||
overflow: TextOverflow.ellipsis,
|
overflow: TextOverflow.ellipsis,
|
||||||
|
|||||||
Reference in New Issue
Block a user