Watch
1
0
Fork
You've already forked nexus
0
forked from Nexus/nexus

add emoji overlay

This commit is contained in:
Henry Hiles 2026-09-16 16:52:58 -04:00
commit 163947fc90
Signed by: Henry-Hiles
SSH key fingerprint: SHA256:VKQUdS31Q90KvX7EkKMHMBpUspcmItAh86a+v7PGiIs
5 changed files with 89 additions and 46 deletions

View file

@ -41,21 +41,18 @@ class const UserOverlay(
.map(
(member) => switch (member.content) {
MembershipContent(:final displayName, :final avatarUrl) =>
Material(
color: Colors.transparent,
child: ListTile(
leading: AvatarOrHash(
avatarUrl,
displayName ?? member.stateKey!.localpart,
),
title: Text(
displayName ?? member.stateKey!.localpart,
),
subtitle: Text(member.stateKey!),
onTap: () => addTag(
id: "[@$displayName](matrix:u/${member.stateKey!.substring(1)})",
name: member.stateKey!.localpart,
),
ListTile(
leading: AvatarOrHash(
avatarUrl,
displayName ?? member.stateKey!.localpart,
),
title: Text(
displayName ?? member.stateKey!.localpart,
),
subtitle: Text(member.stateKey!),
onTap: () => addTag(
id: "[@$displayName](matrix:u/${member.stateKey!.substring(1)})",
name: member.stateKey!.localpart,
),
),
_ => SizedBox.shrink(),