chore: Follow up display stories bubble
This commit is contained in:
parent
c8da41f1af
commit
5302383aeb
1 changed files with 7 additions and 5 deletions
|
|
@ -132,11 +132,13 @@ class StoriesHeader extends StatelessWidget {
|
||||||
avatarUrl: avatarUrl,
|
avatarUrl: avatarUrl,
|
||||||
userId: userId ?? 'Unknown',
|
userId: userId ?? 'Unknown',
|
||||||
),
|
),
|
||||||
lastMessage: room.lastEvent?.calcLocalizedBodyFallback(
|
lastMessage: room.hasPosts
|
||||||
MatrixLocals(
|
? room.lastEvent?.calcLocalizedBodyFallback(
|
||||||
L10n.of(context)!,
|
MatrixLocals(
|
||||||
),
|
L10n.of(context)!,
|
||||||
),
|
),
|
||||||
|
)
|
||||||
|
: null,
|
||||||
heroTag: 'stories_${room.id}',
|
heroTag: 'stories_${room.id}',
|
||||||
hasPosts: room.hasPosts || room == ownStoryRoom,
|
hasPosts: room.hasPosts || room == ownStoryRoom,
|
||||||
showEditFab: userId == client.userID,
|
showEditFab: userId == client.userID,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue