🐛 Bug fixes in posts

This commit is contained in:
2025-03-19 00:29:29 +08:00
parent 060bfa4887
commit 9f8c8923d9
3 changed files with 27 additions and 25 deletions

View File

@ -151,6 +151,7 @@ class PostCommentSliverListState extends State<PostCommentSliverList> {
},
),
onTap: () {
Navigator.pop(context);
GoRouter.of(context).pushNamed(
'postDetail',
pathParameters: {'slug': _posts[idx].id.toString()},
@ -225,6 +226,9 @@ class _PostCommentListPopupState extends State<PostCommentListPopup> {
onPost: () {
_childListKey.currentState!.refresh();
},
onExpand: () {
Navigator.pop(context);
},
),
),
),