✨ Reload after post
This commit is contained in:
@ -92,7 +92,11 @@ class _CommentListWidgetState extends State<CommentListWidget> {
|
||||
icon: const Icon(Icons.edit),
|
||||
label: const Text("LEAVE COMMENT"),
|
||||
onPressed: () {
|
||||
router.push("/post/comments", extra: widget.parent);
|
||||
router
|
||||
.push("/post/comments", extra: widget.parent)
|
||||
.then((value) {
|
||||
if (value == true) paginationController.refresh();
|
||||
});
|
||||
},
|
||||
);
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user