Skip to content

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

Fix copy button background color

hunteraraujob312b1d48170
diff --git a/lib/views/chat/json_code_snippet_view.dart b/lib/views/chat/json_code_snippet_view.dart
index 6a09c627b1..f8ece40b13 100644
--- a/lib/views/chat/json_code_snippet_view.dart
+++ b/lib/views/chat/json_code_snippet_view.dart
@@ -48,6 +48,7 @@ class JsonCodeSnippetView extends StatelessWidget {
// SizedBox to create a gap between the code snippet view and the copy button
const SizedBox(width: 20),
Material(
+ color: Colors.white,
// IconButton to allow the user to copy the pretty-printed JSON to the clipboard
child: IconButton(
icon: const Icon(Icons.copy),