From 3b204373e930a27a462e03c5982498416089e8e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Ku=C3=9Fowski?= Date: Fri, 13 Mar 2026 12:30:41 +0100 Subject: [PATCH] chore: Make banner light red --- lib/pages/chat_list/chat_list.dart | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/lib/pages/chat_list/chat_list.dart b/lib/pages/chat_list/chat_list.dart index 207050277..5b11ab6dc 100644 --- a/lib/pages/chat_list/chat_list.dart +++ b/lib/pages/chat_list/chat_list.dart @@ -408,10 +408,13 @@ class ChatListController extends State if (DateTime.now().difference(lastSeenSupportBanner) >= Duration(days: 6 * 7)) { + final theme = Theme.of(context); final messenger = ScaffoldMessenger.of(context); messenger.showMaterialBanner( MaterialBanner( + backgroundColor: theme.colorScheme.errorContainer, leading: CloseButton( + color: theme.colorScheme.onErrorContainer, onPressed: () async { final okCancelResult = await showOkCancelAlertDialog( context: context, @@ -436,7 +439,10 @@ class ChatListController extends State ), content: Padding( padding: const EdgeInsets.symmetric(vertical: 8.0), - child: Text(L10n.of(context).fluffyChatSupportBannerMessage), + child: Text( + L10n.of(context).fluffyChatSupportBannerMessage, + style: TextStyle(color: theme.colorScheme.onErrorContainer), + ), ), actions: [ TextButton( @@ -446,7 +452,10 @@ class ChatListController extends State 'https://fluffychat.im/faq/#how_can_i_support_fluffychat', ); }, - child: Text(L10n.of(context).support), + child: Text( + L10n.of(context).support, + style: TextStyle(color: theme.colorScheme.onErrorContainer), + ), ), ], ),