mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-11-20 02:59:26 +01:00
Merge branch 'padding-1st-msg' into 'main'
Padding 1st msg See merge request famedly/fluffychat!678
This commit is contained in:
commit
ce4916c1ca
@ -126,10 +126,10 @@ class Message extends StatelessWidget {
|
|||||||
crossAxisAlignment: CrossAxisAlignment.start,
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
mainAxisSize: MainAxisSize.min,
|
mainAxisSize: MainAxisSize.min,
|
||||||
children: [
|
children: [
|
||||||
if (!ownMessage && !sameSender)
|
if (!sameSender)
|
||||||
Padding(
|
Padding(
|
||||||
padding: const EdgeInsets.only(left: 8.0, bottom: 4),
|
padding: const EdgeInsets.only(left: 8.0, bottom: 4),
|
||||||
child: event.room.isDirectChat
|
child: ownMessage || event.room.isDirectChat
|
||||||
? const SizedBox(height: 12)
|
? const SizedBox(height: 12)
|
||||||
: Text(
|
: Text(
|
||||||
event.sender.calcDisplayname(),
|
event.sender.calcDisplayname(),
|
||||||
|
Loading…
Reference in New Issue
Block a user