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