mirror of
https://github.com/foss42/apidash.git
synced 2025-12-01 02:07:00 +08:00
feat: fix user chat text color
This commit is contained in:
@@ -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,
|
||||
),
|
||||
),
|
||||
|
||||
@@ -51,7 +51,7 @@ void main() {
|
||||
final button = tester.widget<ButtonStyleButton>(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',
|
||||
|
||||
Reference in New Issue
Block a user