chore: Make connection problem color orange

pull/1815/head
krille-chan 2 months ago
parent ba61e3c164
commit 959d75fb9d
No known key found for this signature in database

@ -52,7 +52,7 @@ class ChatInputRow extends StatelessWidget {
height: height, height: height,
child: TextButton( child: TextButton(
style: TextButton.styleFrom( style: TextButton.styleFrom(
foregroundColor: theme.colorScheme.error, foregroundColor: Colors.orange,
), ),
onPressed: controller.deleteErrorEventsAction, onPressed: controller.deleteErrorEventsAction,
child: Row( child: Row(

@ -60,7 +60,7 @@ class ChatListHeader extends StatelessWidget implements PreferredSizeWidget {
: status.calcLocalizedString(context), : status.calcLocalizedString(context),
hintStyle: TextStyle( hintStyle: TextStyle(
color: status.error != null color: status.error != null
? theme.colorScheme.error ? Colors.orange
: theme.colorScheme.onPrimaryContainer, : theme.colorScheme.onPrimaryContainer,
fontWeight: FontWeight.normal, fontWeight: FontWeight.normal,
), ),
@ -88,8 +88,8 @@ class ChatListHeader extends StatelessWidget implements PreferredSizeWidget {
strokeWidth: 2, strokeWidth: 2,
value: status.progress, value: status.progress,
valueColor: status.error != null valueColor: status.error != null
? AlwaysStoppedAnimation<Color>( ? const AlwaysStoppedAnimation<Color>(
theme.colorScheme.error, Colors.orange,
) )
: null, : null,
), ),

Loading…
Cancel
Save