replying to comments now works, fixes #58

This commit is contained in:
shilangyu 2020-09-28 20:24:30 +02:00
parent 37a3d95b06
commit 15ebfb6caa
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ class WriteComment extends HookWidget {
final res = await api.createComment(
content: controller.text,
postId: post?.id ?? comment.postId,
parentId: comment?.parentId,
parentId: comment?.id,
auth: token.raw);
Navigator.of(context).pop(res);
// ignore: avoid_catches_without_on_clauses