Add background to regeneration request background (#4960)

This commit is contained in:
Kelrap 2025-12-29 13:50:48 -05:00 committed by GitHub
parent 0eeec052b2
commit 8d106589cd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1045,14 +1045,24 @@ class Message extends StatelessWidget {
if (canRefresh)
Padding(
padding: const EdgeInsets.all(16.0),
child: IconButton(
tooltip: L10n.of(context)
.requestRegeneration,
icon: const Icon(
Icons.refresh_outlined,
child: CircleAvatar(
radius: (IconTheme.of(context).size ??
24.0) -
4,
backgroundColor: theme
.colorScheme.surface
.withAlpha(128),
child: IconButton(
tooltip: L10n.of(context)
.requestRegeneration,
icon: const Icon(
Icons.refresh_outlined,
),
onPressed: () =>
controller.requestRegeneration(
event.eventId,
),
),
onPressed: () => controller
.requestRegeneration(event.eventId),
),
),
],