Make post body selectable, fixes #190
This commit is contained in:
parent
63486e0c88
commit
3609570df8
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue