@@ -87,10 +87,12 @@ class RecentDmConversationsItem extends StatelessWidget {
8787
8888    final  String  title;
8989    final  Widget  avatar;
90+     bool  self= false ;
9091    switch  (narrow.otherRecipientIds) { // TODO dedupe with DM items in [InboxPage] 
9192      case  []: 
9293        title =  selfUser.fullName;
9394        avatar =  AvatarImage (userId:  selfUser.userId, size:  _avatarSize);
95+         self= true ;
9496      case  [var  otherUserId]: 
9597        // TODO(#296) actually don't show this row if the user is muted? 
9698        //   (should we offer a "spam folder" style summary screen of recent 
@@ -125,16 +127,29 @@ class RecentDmConversationsItem extends StatelessWidget {
125127            const  SizedBox (width:  8 ),
126128            Expanded (child:  Padding (
127129              padding:  const  EdgeInsets .symmetric (vertical:  4 ),
128-               child:  Text (
129-                 style:  TextStyle (
130-                   fontSize:  17 ,
131-                   height:  (20  /  17 ),
132-                   // TODO(design) check if this is the right variable 
133-                   color:  designVariables.labelMenuButton,
134-                 ),
135-                 maxLines:  2 ,
136-                 overflow:  TextOverflow .ellipsis,
137-                 title))),
130+               child:  Row (
131+                 children: [Text (
132+                   style:  TextStyle (
133+                     fontSize:  17 ,
134+                     height:  (20  /  17 ),
135+                     // TODO(design) check if this is the right variable 
136+                     color:  designVariables.labelMenuButton,
137+                   ),
138+                   maxLines:  2 ,
139+                   overflow:  TextOverflow .ellipsis,
140+                   title),if  (self) // Conditionally add "(you)" 
141+                     Padding (
142+                       padding:  const  EdgeInsets .only (left:  4 ),
143+                       child:  Text (
144+                         "(you)" ,
145+                         style:  TextStyle (
146+                           fontSize:  17 ,
147+                           height:  (20  /  17 ),
148+                           color:  designVariables.labelMenuButton.withAlpha (180 ),
149+                         ),
150+                       ),
151+                     ),]
152+               ))),
138153            const  SizedBox (width:  12 ),
139154            unreadCount >  0 
140155              ?  Padding (padding:  const  EdgeInsetsDirectional .only (end:  16 ),
0 commit comments