mirror of
https://gitlab.com/comunic/comunicmobile
synced 2024-11-22 21:09:21 +00:00
Fix issue that prevented to update content of empty posts
This commit is contained in:
parent
73a94f5358
commit
cf342367b6
@ -570,7 +570,7 @@ class _PostTileState extends State<PostTile> {
|
|||||||
context: context,
|
context: context,
|
||||||
title: tr("Update post content"),
|
title: tr("Update post content"),
|
||||||
message: tr("Please enter message content: "),
|
message: tr("Please enter message content: "),
|
||||||
defaultValue: widget.post.content,
|
defaultValue: widget.post.content == null ? "" : widget.post.content,
|
||||||
hint: tr("Post content"),
|
hint: tr("Post content"),
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user