chore: Show close icon for device verification warning
This commit is contained in:
parent
f68a9de6bf
commit
8cb06d602b
2 changed files with 3 additions and 0 deletions
|
|
@ -125,6 +125,7 @@ abstract class FluffyThemes {
|
|||
),
|
||||
snackBarTheme: const SnackBarThemeData(
|
||||
behavior: SnackBarBehavior.floating,
|
||||
width: FluffyThemes.columnWidth * 1.5,
|
||||
),
|
||||
elevatedButtonTheme: ElevatedButtonThemeData(
|
||||
style: ElevatedButton.styleFrom(
|
||||
|
|
|
|||
|
|
@ -773,7 +773,9 @@ class ChatListController extends State<ChatList>
|
|||
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(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue