forked from Nexus/nexus
redesign user popover
This commit is contained in:
parent
e15d947fac
commit
d46646d781
9 changed files with 302 additions and 272 deletions
|
|
@ -24,7 +24,7 @@ class AvatarOrHash extends ConsumerWidget {
|
|||
Widget build(BuildContext context, WidgetRef ref) {
|
||||
final box = ColoredBox(
|
||||
color: ColorHash(title).color,
|
||||
child: Center(child: Text(title.isEmpty ? "" : title[0])),
|
||||
child: Center(child: Icon(Icons.person, size: height / 2)),
|
||||
);
|
||||
|
||||
final parsedAvatar = avatar?.mxcToHttps(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue