From 9a58a1fa4d9306a5002ce71a6758e75ff0bbfd18 Mon Sep 17 00:00:00 2001 From: Udhay-Adithya Date: Thu, 25 Sep 2025 23:51:45 +0530 Subject: [PATCH] feat: fix user chat text color --- lib/dashbot/features/chat/view/widgets/chat_bubble.dart | 2 +- .../action_buttons/dashbot_download_doc_button_test.dart | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/dashbot/features/chat/view/widgets/chat_bubble.dart b/lib/dashbot/features/chat/view/widgets/chat_bubble.dart index 53150009..1d50194e 100644 --- a/lib/dashbot/features/chat/view/widgets/chat_bubble.dart +++ b/lib/dashbot/features/chat/view/widgets/chat_bubble.dart @@ -96,7 +96,7 @@ class ChatBubble extends ConsumerWidget { ).copyWith( p: Theme.of(context).textTheme.bodyMedium?.copyWith( color: role == MessageRole.user - ? Theme.of(context).colorScheme.surfaceBright + ? Theme.of(context).colorScheme.inverseSurface : Theme.of(context).colorScheme.onSurface, ), ), diff --git a/test/dashbot/widgets/action_buttons/dashbot_download_doc_button_test.dart b/test/dashbot/widgets/action_buttons/dashbot_download_doc_button_test.dart index 8547d730..d0145315 100644 --- a/test/dashbot/widgets/action_buttons/dashbot_download_doc_button_test.dart +++ b/test/dashbot/widgets/action_buttons/dashbot_download_doc_button_test.dart @@ -51,7 +51,7 @@ void main() { final button = tester.widget(buttonFinder); expect(button.onPressed, isNull); }); - + // TODO: Fix this test for downloading // testWidgets('saves documentation to downloads directory', (tester) async { // const action = ChatAction( // action: 'download_doc',