chore: Follow up selectable text

This commit is contained in:
Krille 2023-11-06 15:57:46 +01:00
parent 60bcc6b89f
commit 8148999512
No known key found for this signature in database

View file

@ -74,7 +74,9 @@ class HtmlMessage extends StatelessWidget {
);
// there is no need to pre-validate the html, as we validate it while rendering
return Html(
return MouseRegion(
cursor: SystemMouseCursors.text,
child: Html(
data: linkifiedRenderHtml,
style: {
'*': Style(
@ -147,6 +149,7 @@ class HtmlMessage extends StatelessWidget {
'html',
},
shrinkWrap: true,
),
);
}