We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7ecf5b commit cffe2e4Copy full SHA for cffe2e4
lib/widgets/inbox.dart
@@ -382,12 +382,10 @@ class _DmItem extends StatelessWidget {
382
@override
383
Widget build(BuildContext context) {
384
final store = PerAccountStoreWidget.of(context);
385
- final selfUser = store.users[store.selfUserId]!;
386
-
387
final designVariables = DesignVariables.of(context);
388
389
final title = switch (narrow.otherRecipientIds) { // TODO dedupe with [RecentDmConversationsItem]
390
- [] => selfUser.fullName,
+ [] => store.users[store.selfUserId]!.fullName,
391
[var otherUserId] => store.userDisplayName(otherUserId),
392
393
// TODO(i18n): List formatting, like you can do in JavaScript:
0 commit comments