changed snackbar styling

This commit is contained in:
2026-01-21 16:31:43 +01:00
parent c2506fab7a
commit d0492b2f79

View File

@@ -10,10 +10,11 @@ class Notifying {
}) {
ScaffoldMessenger.of(context).showSnackBar(
SnackBar(
backgroundColor: Theme.of(context).colorScheme.error,
content: Text(
text,
style: isError
? TextStyle(color: Theme.of(context).colorScheme.error)
? TextStyle(color: Theme.of(context).colorScheme.onError)
: null,
),
),