better loading state for message displayname widget

This commit is contained in:
Henry Hiles 2026-05-30 11:35:12 -04:00
commit f60a499875
Signed by: Henry-Hiles
SSH key fingerprint: SHA256:VKQUdS31Q90KvX7EkKMHMBpUspcmItAh86a+v7PGiIs

View file

@ -58,6 +58,12 @@ class MessageDisplayname extends ConsumerWidget {
], ],
), ),
), ),
_ => Text(""), _ => Text(
event.sender.localpart,
style: TextStyle(
color: event.sender.colorHash,
fontWeight: FontWeight.bold,
),
),
}; };
} }