From b312b1d481700c5adfc5e8f5966176e7d4f3666c Mon Sep 17 00:00:00 2001 From: hunteraraujo Date: Thu, 24 Aug 2023 21:53:35 -0700 Subject: [PATCH] Fix copy button background color --- lib/views/chat/json_code_snippet_view.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/views/chat/json_code_snippet_view.dart b/lib/views/chat/json_code_snippet_view.dart index 6a09c627..f8ece40b 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),