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 various splash radius for icon buttons

hunteraraujo803e3f6ef963
diff --git a/lib/views/chat/agent_message_tile.dart b/lib/views/chat/agent_message_tile.dart
index d34a8c6d7b..0777c9dcc3 100644
--- a/lib/views/chat/agent_message_tile.dart
+++ b/lib/views/chat/agent_message_tile.dart
@@ -81,6 +81,7 @@ class _AgentMessageTileState extends State<AgentMessageTile> {
const SizedBox(width: 20),
// Expand/Collapse button
IconButton(
+ splashRadius: 0.1,
icon: Icon(isExpanded
? Icons.keyboard_arrow_up
: Icons.keyboard_arrow_down),
diff --git a/lib/views/chat/chat_input_field.dart b/lib/views/chat/chat_input_field.dart
index 3ab85735d7..9082cbb4d2 100644
--- a/lib/views/chat/chat_input_field.dart
+++ b/lib/views/chat/chat_input_field.dart
@@ -57,6 +57,7 @@ class _ChatInputFieldState extends State<ChatInputField> {
hintText: 'Type a message...',
border: InputBorder.none,
suffixIcon: IconButton(
+ splashRadius: 0.1,
icon: const Icon(Icons.send),
onPressed: widget.onSendPressed,
),
diff --git a/lib/views/task/task_list_tile.dart b/lib/views/task/task_list_tile.dart
index d18a2c16fd..03440f5090 100644
--- a/lib/views/task/task_list_tile.dart
+++ b/lib/views/task/task_list_tile.dart
@@ -68,6 +68,7 @@ class _TaskListTileState extends State<TaskListTile> {
// If the task is selected, show a delete icon
if (_isSelected)
IconButton(
+ splashRadius: 0.1,
icon: const Icon(Icons.close, color: Colors.black),
onPressed: widget.onDelete,
),