Minor fixes

This commit is contained in:
Christian Pauly
2020-03-13 21:42:05 +01:00
parent 3b574b047f
commit 01b1b56852
4 changed files with 13 additions and 8 deletions

View File

@ -140,7 +140,7 @@ class Message extends StatelessWidget {
),
];
final Widget avatarOrSizedBox = sameSender
? SizedBox(width: 40)
? SizedBox(width: Avatar.defaultSize)
: Avatar(
event.sender.avatarUrl,
event.sender.calcDisplayname(),