disallow copying when comment was removed/deleted
This commit is contained in:
parent
33f57b7e54
commit
e96cb9019b
|
@ -207,7 +207,7 @@ class Comment extends HookWidget {
|
||||||
}();
|
}();
|
||||||
|
|
||||||
final actions = Row(children: [
|
final actions = Row(children: [
|
||||||
if (selectable.value)
|
if (selectable.value && !comment.deleted && !comment.removed)
|
||||||
_CommentAction(
|
_CommentAction(
|
||||||
icon: Icons.content_copy,
|
icon: Icons.content_copy,
|
||||||
tooltip: 'copy',
|
tooltip: 'copy',
|
||||||
|
|
Loading…
Reference in New Issue