always show sender for images

This commit is contained in:
Henry Hiles 2025-11-23 16:01:27 -05:00
commit 9951898598
No known key found for this signature in database
2 changed files with 4 additions and 1 deletions

View file

@ -250,6 +250,7 @@ class RoomChat extends HookConsumerWidget {
message,
headers: room.roomData.client.headers,
groupStatus: groupStatus,
alwaysShow: true,
),
message: message,
index: index,

View file

@ -8,12 +8,14 @@ import "package:nexus/helpers/extension_helper.dart";
class TopWidget extends ConsumerWidget {
final Message message;
final bool alwaysShow;
final Map<String, String> headers;
final MessageGroupStatus? groupStatus;
const TopWidget(
this.message, {
required this.headers,
required this.groupStatus,
this.alwaysShow = false,
super.key,
});
@ -96,7 +98,7 @@ class TopWidget extends ConsumerWidget {
),
SizedBox(height: 12),
],
if (groupStatus?.isFirst != false)
if (alwaysShow || groupStatus?.isFirst != false)
InkWell(
onTap: () =>
showAboutDialog(context: context), // TODO: Show user profile