Merge branch 'padding-1st-msg' into 'main'
Padding 1st msg See merge request famedly/fluffychat!678
This commit is contained in:
commit
5439785dd0
1 changed files with 2 additions and 2 deletions
|
|
@ -126,10 +126,10 @@ class Message extends StatelessWidget {
|
|||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
children: [
|
||||
if (!ownMessage && !sameSender)
|
||||
if (!sameSender)
|
||||
Padding(
|
||||
padding: const EdgeInsets.only(left: 8.0, bottom: 4),
|
||||
child: event.room.isDirectChat
|
||||
child: ownMessage || event.room.isDirectChat
|
||||
? const SizedBox(height: 12)
|
||||
: Text(
|
||||
event.sender.calcDisplayname(),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue