diff --git a/lib/shared/comment_reference.dart b/lib/shared/comment_reference.dart index 66e14393c..0b27b23e1 100644 --- a/lib/shared/comment_reference.dart +++ b/lib/shared/comment_reference.dart @@ -94,7 +94,7 @@ class _CommentReferenceState extends State { ${formatTimeToString(dateTime: (widget.comment.comment.updated ?? widget.comment.comment.published).toIso8601String())}\n ${widget.comment.comment.content}""", child: InkWell( - onTap: () async => await navigateToComment(context, widget.comment), + onTap: widget.comment.post.deleted ? null : () async => await navigateToComment(context, widget.comment), child: Padding( padding: const EdgeInsets.symmetric(vertical: 4.0), child: Column( @@ -111,6 +111,14 @@ class _CommentReferenceState extends State { children: [ Row( children: [ + if (widget.comment.post.deleted) ...[ + const Icon( + Icons.delete_rounded, + size: 15, + color: Colors.red, + ), + const SizedBox(width: 5), + ], Flexible( child: ExcludeSemantics( child: Text(