Skip to content

Commit

Permalink
krille-chan#31 UC-2013: Show in message details not senderId and sour…
Browse files Browse the repository at this point in the history
…ceCode
  • Loading branch information
philipp.monz authored and Matthias committed Aug 11, 2023
1 parent 4282bbf commit a98705e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/pages/chat/event_info_dialog.dart
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import 'package:flutter/material.dart';
import 'package:flutter_gen/gen_l10n/l10n.dart';
import 'package:matrix/matrix.dart';

import 'package:fluffychat/config/app_config.dart';
import 'package:fluffychat/utils/adaptive_bottom_sheet.dart';
import 'package:fluffychat/utils/date_time_extension.dart';
import 'package:fluffychat/widgets/avatar.dart';
Expand Down Expand Up @@ -54,7 +53,7 @@ class EventInfoDialog extends StatelessWidget {
),
title: Text(L10n.of(context)!.sender),
subtitle: Text(
'${event.senderFromMemoryOrFallback.calcDisplayname()} [${event.senderId}]',
'${event.senderFromMemoryOrFallback.calcDisplayname()}', /* schulChatSpecific string + [${event.senderId}]*/
),
),
ListTile(
Expand All @@ -65,6 +64,7 @@ class EventInfoDialog extends StatelessWidget {
title: Text(L10n.of(context)!.messageType),
subtitle: Text(event.humanreadableType),
),
/* schulChatSpecific
ListTile(title: Text('${L10n.of(context)!.sourceCode}:')),
Padding(
padding: const EdgeInsets.all(12.0),
Expand All @@ -77,7 +77,7 @@ class EventInfoDialog extends StatelessWidget {
child: SelectableText(prettyJson),
),
),
),
),*/
],
),
);
Expand Down

0 comments on commit a98705e

Please sign in to comment.