From d0492b2f79d85f9bec853017593ca6f81335d2e0 Mon Sep 17 00:00:00 2001 From: marco Date: Wed, 21 Jan 2026 16:31:43 +0100 Subject: [PATCH] changed snackbar styling --- lib/service/notifying.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/service/notifying.dart b/lib/service/notifying.dart index 7c4dca1..3d51154 100644 --- a/lib/service/notifying.dart +++ b/lib/service/notifying.dart @@ -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, ), ),