mirror of
https://github.com/we-promise/sure.git
synced 2026-04-17 19:14:11 +00:00
Fix: Allow users to copy text from the chatbot responses (#1394)
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user