Remove flutter chat #26
1 changed files with 24 additions and 19 deletions
ignore pointer for reply preview
commit
5a9e29be34
|
|
@ -150,7 +150,10 @@ class EventRenderer extends ConsumerWidget {
|
|||
),
|
||||
)) {
|
||||
AsyncData(:final value?) ||
|
||||
AsyncLoading(:final value?) => Row(
|
||||
AsyncLoading(
|
||||
:final value?,
|
||||
) => IgnorePointer(
|
||||
child: Row(
|
||||
spacing: 8,
|
||||
children: [
|
||||
MessageAvatar(value, height: 24),
|
||||
|
|
@ -158,8 +161,9 @@ class EventRenderer extends ConsumerWidget {
|
|||
child: MessageDisplayname(
|
||||
value,
|
||||
style: TextStyle(
|
||||
color:
|
||||
theme.colorScheme.primary,
|
||||
color: theme
|
||||
.colorScheme
|
||||
.primary,
|
||||
fontWeight: FontWeight.bold,
|
||||
),
|
||||
),
|
||||
|
|
@ -173,6 +177,7 @@ class EventRenderer extends ConsumerWidget {
|
|||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
AsyncError _ => Text(
|
||||
"An error occurred while fetching the reply",
|
||||
style: errorStyle,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue