feat: fix user chat text color

This commit is contained in:
Udhay-Adithya
2025-09-25 23:51:45 +05:30
parent 50fb3cfee2
commit 9a58a1fa4d
2 changed files with 2 additions and 2 deletions

View File

@@ -96,7 +96,7 @@ class ChatBubble extends ConsumerWidget {
).copyWith( ).copyWith(
p: Theme.of(context).textTheme.bodyMedium?.copyWith( p: Theme.of(context).textTheme.bodyMedium?.copyWith(
color: role == MessageRole.user color: role == MessageRole.user
? Theme.of(context).colorScheme.surfaceBright ? Theme.of(context).colorScheme.inverseSurface
: Theme.of(context).colorScheme.onSurface, : Theme.of(context).colorScheme.onSurface,
), ),
), ),

View File

@@ -51,7 +51,7 @@ void main() {
final button = tester.widget<ButtonStyleButton>(buttonFinder); final button = tester.widget<ButtonStyleButton>(buttonFinder);
expect(button.onPressed, isNull); expect(button.onPressed, isNull);
}); });
// TODO: Fix this test for downloading
// testWidgets('saves documentation to downloads directory', (tester) async { // testWidgets('saves documentation to downloads directory', (tester) async {
// const action = ChatAction( // const action = ChatAction(
// action: 'download_doc', // action: 'download_doc',