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

Handles comment deletion events

This commit is contained in:
2020-04-18 16:57:00 +02:00
parent 6b08b62832
commit dab4e7bde1
4 changed files with 22 additions and 5 deletions

View File

@ -523,11 +523,6 @@ class _PostTileState extends State<PostTile> {
showSimpleSnack(context, tr("Could not delete the comment!"));
return;
}
// Remove the comment from the list
setState(() {
widget.post.comments.remove(comment);
});
}
/// Method called each time the user has selected an option