Make post body selectable, fixes #190
This commit is contained in:
parent
63486e0c88
commit
3609570df8
|
@ -415,9 +415,13 @@ class PostWidget extends HookWidget {
|
||||||
linkPreview(),
|
linkPreview(),
|
||||||
if (post.post.body != null && fullPost)
|
if (post.post.body != null && fullPost)
|
||||||
Padding(
|
Padding(
|
||||||
padding: const EdgeInsets.all(10),
|
padding: const EdgeInsets.all(10),
|
||||||
child: MarkdownText(post.post.body,
|
child: MarkdownText(
|
||||||
instanceHost: instanceHost)),
|
post.post.body,
|
||||||
|
instanceHost: instanceHost,
|
||||||
|
selectable: true,
|
||||||
|
),
|
||||||
|
),
|
||||||
if (post.post.body != null && !fullPost)
|
if (post.post.body != null && !fullPost)
|
||||||
LayoutBuilder(
|
LayoutBuilder(
|
||||||
builder: (context, constraints) {
|
builder: (context, constraints) {
|
||||||
|
|
Loading…
Reference in New Issue