Make post body selectable, fixes #190

This commit is contained in:
shilangyu 2021-04-06 15:48:56 +02:00
parent 63486e0c88
commit 3609570df8
1 changed files with 7 additions and 3 deletions

View File

@ -415,9 +415,13 @@ class PostWidget extends HookWidget {
linkPreview(),
if (post.post.body != null && fullPost)
Padding(
padding: const EdgeInsets.all(10),
child: MarkdownText(post.post.body,
instanceHost: instanceHost)),
padding: const EdgeInsets.all(10),
child: MarkdownText(
post.post.body,
instanceHost: instanceHost,
selectable: true,
),
),
if (post.post.body != null && !fullPost)
LayoutBuilder(
builder: (context, constraints) {