chore: Follow up display stories bubble

pull/524/head
krille-chan 2 years ago
parent c8da41f1af
commit 5302383aeb
No known key found for this signature in database

@ -132,11 +132,13 @@ class StoriesHeader extends StatelessWidget {
avatarUrl: avatarUrl,
userId: userId ?? 'Unknown',
),
lastMessage: room.lastEvent?.calcLocalizedBodyFallback(
MatrixLocals(
L10n.of(context)!,
),
),
lastMessage: room.hasPosts
? room.lastEvent?.calcLocalizedBodyFallback(
MatrixLocals(
L10n.of(context)!,
),
)
: null,
heroTag: 'stories_${room.id}',
hasPosts: room.hasPosts || room == ownStoryRoom,
showEditFab: userId == client.userID,

Loading…
Cancel
Save