Add background to activity card X buttons for visibility (#2906)

This commit is contained in:
Kelrap 2025-06-03 12:40:43 -04:00 committed by GitHub
parent 9507a2f3fe
commit 9ec302bbd7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -540,8 +540,14 @@ class ActivitySuggestionDialogState extends State<ActivitySuggestionDialog> {
Positioned(
top: 4.0,
left: 4.0,
child: IconButton(
icon: const Icon(Icons.close_outlined),
child: IconButton.filled(
style: IconButton.styleFrom(
backgroundColor: theme.colorScheme.surface.withAlpha(170),
),
icon: Icon(
Icons.close_outlined,
color: theme.colorScheme.onSurface,
),
onPressed: Navigator.of(context).pop,
tooltip: L10n.of(context).close,
),