Add the ability to see reactors on hover

This commit is contained in:
Henry Hiles 2026-04-08 16:02:15 -04:00
commit 116649e8d7
Signed by: Henry-Hiles
SSH key fingerprint: SHA256:VKQUdS31Q90KvX7EkKMHMBpUspcmItAh86a+v7PGiIs

View file

@ -90,6 +90,8 @@ class MessageWrapper extends ConsumerWidget {
clientState!.userId,
);
return SizedBox(
child: Tooltip(
message: reactors.join(", "),
child: ChoiceChip(
showCheckmark: false,
selected: selected,
@ -104,7 +106,8 @@ class MessageWrapper extends ConsumerWidget {
headers: ref.headers,
Uri.parse(reaction)
.mxcToHttps(
clientState.homeserverUrl!,
clientState
.homeserverUrl!,
)
.toString(),
ref.watch(
@ -118,6 +121,7 @@ class MessageWrapper extends ConsumerWidget {
),
onSelected: (value) {}, // TODO
),
),
);
}).toList(),
),