File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -349,8 +349,8 @@ class UserStatusEmoji extends StatelessWidget {
349349 final store = PerAccountStoreWidget .of (context);
350350 final effectiveEmoji = emoji ?? store.getUserStatus (userId! ).emoji;
351351
352- final placeholder = SizedBox .shrink ( );
353- if (effectiveEmoji == null ) return placeholder ;
352+ final placeholder = SizedBox .square (dimension : size );
353+ if (effectiveEmoji == null ) return SizedBox . shrink () ;
354354
355355 final emojiDisplay = store.emojiDisplayFor (
356356 emojiType: effectiveEmoji.reactionType,
@@ -374,7 +374,9 @@ class UserStatusEmoji extends StatelessWidget {
374374 // The user-status feature doesn't support a :text_emoji:-style display.
375375 // Also, if an image emoji's URL string doesn't parse, it'll fall back to
376376 // a :text_emoji:-style display. We show nothing for this case.
377- TextEmojiDisplay () => placeholder,
377+ TextEmojiDisplay () => Padding (
378+ padding: padding,
379+ child: placeholder),
378380 };
379381 }
380382}
You can’t perform that action at this time.
0 commit comments