fix message bubble alignment
This commit is contained in:
parent
817469aa58
commit
b48e9457b8
2 changed files with 88 additions and 84 deletions
|
|
@ -21,7 +21,9 @@ class ReactionRow extends ConsumerWidget {
|
|||
Widget build(BuildContext context, WidgetRef ref) {
|
||||
final clientState = ref.watch(ClientStateController.provider);
|
||||
|
||||
return switch (ref.watch(
|
||||
return Padding(
|
||||
padding: .only(top: 4),
|
||||
child: switch (ref.watch(
|
||||
ReactionsController.provider(
|
||||
.new(roomId: event.roomId, eventRowId: event.rowId),
|
||||
),
|
||||
|
|
@ -60,7 +62,9 @@ class ReactionRow extends ConsumerWidget {
|
|||
clientState!.homeserverUrl!,
|
||||
)
|
||||
.toString(),
|
||||
ref.watch(CrossCacheController.provider),
|
||||
ref.watch(
|
||||
CrossCacheController.provider,
|
||||
),
|
||||
),
|
||||
)
|
||||
: Text(reaction, overflow: .ellipsis),
|
||||
|
|
@ -108,6 +112,7 @@ class ReactionRow extends ConsumerWidget {
|
|||
error,
|
||||
stackTrace,
|
||||
),
|
||||
};
|
||||
},
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -271,7 +271,6 @@ class MessageRenderer extends ConsumerWidget {
|
|||
case final UrlElement link?)
|
||||
UrlPreview(link.url),
|
||||
|
||||
SizedBox(height: 4),
|
||||
ReactionRow(event),
|
||||
],
|
||||
],
|
||||
|
|
|
|||
Loading…
Reference in a new issue