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 1d52348 commit 6b0bd59Copy full SHA for 6b0bd59
lib/widgets/recent_dm_conversations.dart
@@ -79,14 +79,13 @@ class RecentDmConversationsItem extends StatelessWidget {
79
@override
80
Widget build(BuildContext context) {
81
final store = PerAccountStoreWidget.of(context);
82
- final selfUser = store.users[store.selfUserId]!;
83
-
84
final designVariables = DesignVariables.of(context);
85
86
final String title;
87
final Widget avatar;
88
switch (narrow.otherRecipientIds) { // TODO dedupe with DM items in [InboxPage]
89
case []:
+ final selfUser = store.users[store.selfUserId]!;
90
title = selfUser.fullName;
91
avatar = AvatarImage(userId: selfUser.userId, size: _avatarSize);
92
case [var otherUserId]:
0 commit comments