From ff1b102047fceaf9f887ec45d9897b5486567e5b Mon Sep 17 00:00:00 2001 From: marco Date: Fri, 23 Jan 2026 16:41:16 +0100 Subject: [PATCH] fixed visual bug --- lib/service/notifying.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/service/notifying.dart b/lib/service/notifying.dart index 4870c2b..4a3874a 100644 --- a/lib/service/notifying.dart +++ b/lib/service/notifying.dart @@ -12,7 +12,7 @@ class Notifying { ScaffoldMessenger.of(context).hideCurrentSnackBar(); ScaffoldMessenger.of(context).showSnackBar( SnackBar( - backgroundColor: Theme.of(context).colorScheme.error, + backgroundColor: isError ? Theme.of(context).colorScheme.error : null, content: SizedBox( height: 30, child: Row( @@ -29,7 +29,7 @@ class Notifying { ScaffoldMessenger.of(context).hideCurrentSnackBar(), icon: Icon( Icons.close_rounded, - color: Theme.of(context).colorScheme.onError, + color: isError ? Theme.of(context).colorScheme.onError : null, ), ), ],