Merge branch 'fix'
This commit is contained in:
@ -117,7 +117,7 @@ class _MemberArticlePageState extends State<MemberArticlePage> {
|
|||||||
width: 50,
|
width: 50,
|
||||||
height: 50,
|
height: 50,
|
||||||
type: 'emote',
|
type: 'emote',
|
||||||
src: item.cover['url'],
|
src: item?.cover?['url'] ?? '',
|
||||||
),
|
),
|
||||||
title: Text(
|
title: Text(
|
||||||
item.content,
|
item.content,
|
||||||
|
@ -227,8 +227,8 @@ class SessionItem extends StatelessWidget {
|
|||||||
'/whisperDetail',
|
'/whisperDetail',
|
||||||
parameters: {
|
parameters: {
|
||||||
'talkerId': sessionItem.talkerId.toString(),
|
'talkerId': sessionItem.talkerId.toString(),
|
||||||
'name': sessionItem.accountInfo.name,
|
'name': sessionItem.accountInfo?.name ?? '',
|
||||||
'face': sessionItem.accountInfo.face ?? '',
|
'face': sessionItem.accountInfo?.face ?? '',
|
||||||
'mid': (sessionItem.accountInfo?.mid ?? 0).toString(),
|
'mid': (sessionItem.accountInfo?.mid ?? 0).toString(),
|
||||||
'heroTag': heroTag,
|
'heroTag': heroTag,
|
||||||
},
|
},
|
||||||
@ -244,11 +244,11 @@ class SessionItem extends StatelessWidget {
|
|||||||
width: 45,
|
width: 45,
|
||||||
height: 45,
|
height: 45,
|
||||||
type: 'avatar',
|
type: 'avatar',
|
||||||
src: sessionItem.accountInfo.face ?? '',
|
src: sessionItem.accountInfo?.face ?? '',
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
title: Text(sessionItem.accountInfo.name),
|
title: Text(sessionItem.accountInfo?.name ?? ''),
|
||||||
subtitle: Text(
|
subtitle: Text(
|
||||||
msgStatus == 1
|
msgStatus == 1
|
||||||
? '你撤回了一条消息'
|
? '你撤回了一条消息'
|
||||||
|
Reference in New Issue
Block a user