Fix: Allow users to copy text from the chatbot responses (#1394)

This commit is contained in:
Tristan Katana
2026-04-07 14:23:36 +03:00
committed by GitHub
parent 5cb474d61c
commit 52b8a2a6fc

View File

@@ -442,7 +442,8 @@ class _MessageBubble extends StatelessWidget {
crossAxisAlignment:
isUser ? CrossAxisAlignment.end : CrossAxisAlignment.start,
children: [
Container(
SelectionArea(
child: Container(
padding:
const EdgeInsets.symmetric(horizontal: 16, vertical: 12),
decoration: BoxDecoration(
@@ -484,6 +485,7 @@ class _MessageBubble extends StatelessWidget {
],
),
),
),
const SizedBox(height: 4),
Text(
formatTime(message.createdAt),