Merge branch 'fix-bubble-padding' into 'main'

Fix 2nd bubble padding

See merge request famedly/fluffychat!669
This commit is contained in:
Krille Fear 2022-01-03 16:06:38 +00:00
commit a61712e6f9

View File

@ -105,7 +105,6 @@ class Message extends StatelessWidget {
sameSender || ownMessage
? SizedBox(
width: Avatar.defaultSize,
height: Avatar.defaultSize,
child: event.status == EventStatus.sending
? const Center(
child: SizedBox(
@ -280,14 +279,15 @@ class Message extends StatelessWidget {
)),
),
row,
Padding(
padding: EdgeInsets.only(
top: 4.0,
left: (ownMessage ? 0 : Avatar.defaultSize) + 12.0,
right: 12.0,
if (event.hasAggregatedEvents(timeline, RelationshipTypes.reaction))
Padding(
padding: EdgeInsets.only(
top: 4.0,
left: (ownMessage ? 0 : Avatar.defaultSize) + 12.0,
right: 12.0,
),
child: MessageReactions(event, timeline),
),
child: MessageReactions(event, timeline),
),
],
);
} else {