mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-11-27 23:09:35 +01:00
Merge branch 'fix-bubble-padding' into 'main'
Fix 2nd bubble padding See merge request famedly/fluffychat!669
This commit is contained in:
commit
a61712e6f9
@ -105,7 +105,6 @@ class Message extends StatelessWidget {
|
|||||||
sameSender || ownMessage
|
sameSender || ownMessage
|
||||||
? SizedBox(
|
? SizedBox(
|
||||||
width: Avatar.defaultSize,
|
width: Avatar.defaultSize,
|
||||||
height: Avatar.defaultSize,
|
|
||||||
child: event.status == EventStatus.sending
|
child: event.status == EventStatus.sending
|
||||||
? const Center(
|
? const Center(
|
||||||
child: SizedBox(
|
child: SizedBox(
|
||||||
@ -280,14 +279,15 @@ class Message extends StatelessWidget {
|
|||||||
)),
|
)),
|
||||||
),
|
),
|
||||||
row,
|
row,
|
||||||
Padding(
|
if (event.hasAggregatedEvents(timeline, RelationshipTypes.reaction))
|
||||||
padding: EdgeInsets.only(
|
Padding(
|
||||||
top: 4.0,
|
padding: EdgeInsets.only(
|
||||||
left: (ownMessage ? 0 : Avatar.defaultSize) + 12.0,
|
top: 4.0,
|
||||||
right: 12.0,
|
left: (ownMessage ? 0 : Avatar.defaultSize) + 12.0,
|
||||||
|
right: 12.0,
|
||||||
|
),
|
||||||
|
child: MessageReactions(event, timeline),
|
||||||
),
|
),
|
||||||
child: MessageReactions(event, timeline),
|
|
||||||
),
|
|
||||||
],
|
],
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user