chore: Make banner light red

This commit is contained in:
Christian Kußowski 2026-03-13 12:30:41 +01:00
parent aa605ae0c1
commit 3b204373e9
No known key found for this signature in database
GPG key ID: E067ECD60F1A0652

View file

@ -408,10 +408,13 @@ class ChatListController extends State<ChatList>
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<ChatList>
),
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<ChatList>
'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),
),
),
],
),