Fix the colors of the delete buttons

This commit is contained in:
Micah Morrison
2026-02-13 20:07:07 -05:00
parent fd615c237d
commit 336da4c110
2 changed files with 5 additions and 7 deletions
+3 -1
View File
@@ -32,7 +32,9 @@ Future<bool> showConfirmDialog(
),
FilledButton(
onPressed: () => Navigator.pop(dialogContext, true),
style: isDestructive ? FilledButton.styleFrom(backgroundColor: colorScheme.error) : null,
style: isDestructive
? FilledButton.styleFrom(backgroundColor: colorScheme.error, foregroundColor: colorScheme.onError)
: null,
child: Text(confirmText),
),
],