⬆️ 升级支持服务器的 Event Based Messages #2

Merged
LittleSheep merged 5 commits from experimental/event-based-messages into master 2024-06-27 20:37:32 +00:00
Showing only changes of commit ec14d1e3b3 - Show all commits

View File

@ -104,16 +104,16 @@ class ChatEvent extends StatelessWidget {
],
);
} else if (isQuote) {
return Row(
return Card(
child: Row(
crossAxisAlignment: CrossAxisAlignment.end,
children: [
const Opacity(
opacity: 0.75,
child: FaIcon(FontAwesomeIcons.quoteLeft, size: 14),
).paddingOnly(bottom: 4),
).paddingOnly(bottom: 2.75),
const SizedBox(width: 4),
Expanded(
child: Card(
child: Column(
mainAxisAlignment: MainAxisAlignment.start,
crossAxisAlignment: CrossAxisAlignment.start,
@ -133,11 +133,11 @@ class ChatEvent extends StatelessWidget {
),
buildContent().paddingOnly(left: 0.5),
],
).paddingSymmetric(horizontal: 12, vertical: 4),
),
),
],
).paddingOnly(left: isMerged ? 66 : 14, right: 4);
).paddingOnly(left: 12, right: 12, top: 8, bottom: 4),
).paddingOnly(left: isMerged ? 52 : 0, right: 4);
} else {
return Column(
key: Key('m${item.uuid}'),