chore: Minor design changes
This commit is contained in:
parent
8ee3e61a7e
commit
c68b15935c
2 changed files with 13 additions and 13 deletions
|
|
@ -44,15 +44,6 @@ class MessageReactions extends StatelessWidget {
|
|||
final reactionList = reactionMap.values.toList();
|
||||
reactionList.sort((a, b) => b.count - a.count > 0 ? 1 : -1);
|
||||
return Wrap(spacing: 4.0, runSpacing: 4.0, children: [
|
||||
if (allReactionEvents.any((e) => e.status.isSending))
|
||||
const SizedBox(
|
||||
width: 28,
|
||||
height: 28,
|
||||
child: Padding(
|
||||
padding: EdgeInsets.all(4.0),
|
||||
child: CircularProgressIndicator.adaptive(strokeWidth: 1),
|
||||
),
|
||||
),
|
||||
...reactionList
|
||||
.map(
|
||||
(r) => _Reaction(
|
||||
|
|
@ -86,6 +77,15 @@ class MessageReactions extends StatelessWidget {
|
|||
),
|
||||
)
|
||||
.toList(),
|
||||
if (allReactionEvents.any((e) => e.status.isSending))
|
||||
const SizedBox(
|
||||
width: 28,
|
||||
height: 28,
|
||||
child: Padding(
|
||||
padding: EdgeInsets.all(4.0),
|
||||
child: CircularProgressIndicator.adaptive(strokeWidth: 1),
|
||||
),
|
||||
),
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue