diff --git a/lib/pages/full_post.dart b/lib/pages/full_post.dart index dc8ca1e..3986224 100644 --- a/lib/pages/full_post.dart +++ b/lib/pages/full_post.dart @@ -115,9 +115,12 @@ class FullPostPage extends HookWidget { onPressed: () => PostWidget.showMoreMenu(context, post)), ], ), - floatingActionButton: FloatingActionButton( - onPressed: loggedInAction((_) => comment()), - child: const Icon(Icons.comment)), + floatingActionButton: post.post.locked + ? null + : FloatingActionButton( + onPressed: loggedInAction((_) => comment()), + child: const Icon(Icons.comment), + ), body: RefreshIndicator( onRefresh: refresh, child: ListView( diff --git a/lib/widgets/comment.dart b/lib/widgets/comment.dart index a4577a6..57304ad 100644 --- a/lib/widgets/comment.dart +++ b/lib/widgets/comment.dart @@ -297,7 +297,9 @@ class CommentWidget extends HookWidget { tooltip: L10n.of(context).more, ), _SaveComment(commentTree.comment), - if (!isDeleted.value && !comment.comment.removed) + if (!isDeleted.value && + !comment.comment.removed && + !comment.post.locked) TileAction( icon: Icons.reply, onPressed: loggedInAction((_) => reply()),