disallow copying when comment was removed/deleted

This commit is contained in:
shilangyu 2020-09-19 02:03:37 +02:00
parent 33f57b7e54
commit e96cb9019b
1 changed files with 1 additions and 1 deletions

View File

@ -207,7 +207,7 @@ class Comment extends HookWidget {
}();
final actions = Row(children: [
if (selectable.value)
if (selectable.value && !comment.deleted && !comment.removed)
_CommentAction(
icon: Icons.content_copy,
tooltip: 'copy',