better loading state for message displayname widget
This commit is contained in:
parent
a72ef5ea2d
commit
f60a499875
1 changed files with 7 additions and 1 deletions
|
|
@ -58,6 +58,12 @@ class MessageDisplayname extends ConsumerWidget {
|
|||
],
|
||||
),
|
||||
),
|
||||
_ => Text(""),
|
||||
_ => Text(
|
||||
event.sender.localpart,
|
||||
style: TextStyle(
|
||||
color: event.sender.colorHash,
|
||||
fontWeight: FontWeight.bold,
|
||||
),
|
||||
),
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue