File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
lib/app/modules/chat/presentation/widgets Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ class ChatBubble extends StatelessWidget {
3232 ? null
3333 : PotProfileImage (user: user! , pot: pot),
3434 name: user? .name,
35- child: Text (
35+ child: SelectableText (
3636 message,
3737 style: TextStyles .description.copyWith (
3838 color: user == null ? Palette .primaryLight : Palette .textGrey,
Original file line number Diff line number Diff line change @@ -53,12 +53,12 @@ class FofoBubble extends StatelessWidget {
5353 child: Column (
5454 crossAxisAlignment: CrossAxisAlignment .stretch,
5555 children: [
56- Text (
56+ SelectableText (
5757 message.content.split ('\n ' ).first.replaceAll ('**' , '' ).trim (),
5858 style: TextStyles .title4.copyWith (color: Palette .textGrey),
5959 ),
6060 const SizedBox (height: 8 ),
61- Text (
61+ SelectableText (
6262 message.content.split ('\n ' ).sublist (1 ).join ('\n ' ).trim (),
6363 style: TextStyles .description.copyWith (color: Palette .textGrey),
6464 ),
You can’t perform that action at this time.
0 commit comments