1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2025-06-19 00:05:16 +00:00

Fix issue on posts list not refreshing when a new post is created

This commit is contained in:
2021-12-28 17:15:25 +01:00
parent 2b05fbda35
commit 5b680bb922
2 changed files with 3 additions and 2 deletions

View File

@ -382,9 +382,9 @@ class _PostCreateFormWidgetState extends State<PostCreateFormWidget> {
this._resetForm();
widget.onCreated();
} catch (e) {
} catch (e, s) {
setState(() => _isCreating = false);
print("Error while creating post : " + e.toString());
print("Error while creating post : $e $s");
showSimpleSnack(context, tr("Could not create post !"));
}
}