diff --git a/lib/pages/chat/chat_input_row.dart b/lib/pages/chat/chat_input_row.dart index ac8b99a00..7fa1ed941 100644 --- a/lib/pages/chat/chat_input_row.dart +++ b/lib/pages/chat/chat_input_row.dart @@ -52,7 +52,7 @@ class ChatInputRow extends StatelessWidget { height: height, child: TextButton( style: TextButton.styleFrom( - foregroundColor: theme.colorScheme.error, + foregroundColor: Colors.orange, ), onPressed: controller.deleteErrorEventsAction, child: Row( diff --git a/lib/pages/chat_list/chat_list_header.dart b/lib/pages/chat_list/chat_list_header.dart index 27a06a3ba..ca2bfcbe2 100644 --- a/lib/pages/chat_list/chat_list_header.dart +++ b/lib/pages/chat_list/chat_list_header.dart @@ -60,7 +60,7 @@ class ChatListHeader extends StatelessWidget implements PreferredSizeWidget { : status.calcLocalizedString(context), hintStyle: TextStyle( color: status.error != null - ? theme.colorScheme.error + ? Colors.orange : theme.colorScheme.onPrimaryContainer, fontWeight: FontWeight.normal, ), @@ -88,8 +88,8 @@ class ChatListHeader extends StatelessWidget implements PreferredSizeWidget { strokeWidth: 2, value: status.progress, valueColor: status.error != null - ? AlwaysStoppedAnimation( - theme.colorScheme.error, + ? const AlwaysStoppedAnimation( + Colors.orange, ) : null, ),