diff --git a/lib/config/themes.dart b/lib/config/themes.dart index abb45c2f5..89d49ba77 100644 --- a/lib/config/themes.dart +++ b/lib/config/themes.dart @@ -125,6 +125,7 @@ abstract class FluffyThemes { ), snackBarTheme: const SnackBarThemeData( behavior: SnackBarBehavior.floating, + width: FluffyThemes.columnWidth * 1.5, ), elevatedButtonTheme: ElevatedButtonThemeData( style: ElevatedButton.styleFrom( diff --git a/lib/pages/chat_list/chat_list.dart b/lib/pages/chat_list/chat_list.dart index 5c494acb1..c6f8cc277 100644 --- a/lib/pages/chat_list/chat_list.dart +++ b/lib/pages/chat_list/chat_list.dart @@ -773,7 +773,9 @@ class ChatListController extends State controller = ScaffoldMessenger.of(context).showSnackBar( SnackBar( duration: const Duration(seconds: 15), + showCloseIcon: true, backgroundColor: theme.colorScheme.errorContainer, + closeIconColor: theme.colorScheme.onErrorContainer, content: Text( L10n.of(context).oneOfYourDevicesIsNotVerified, style: TextStyle(