1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2024-11-22 21:09:21 +00:00

Fix invalid check

This commit is contained in:
Pierre HUBERT 2021-03-13 11:09:54 +01:00
parent 0b2f939376
commit cbbda7237b

View File

@ -80,8 +80,9 @@ class _UpdateConversationScreen extends State<UpdateConversationScreen> {
await ConversationsHelper().getSingle(widget.convID, force: true); await ConversationsHelper().getSingle(widget.convID, force: true);
_nameController.text = _conversation.name ?? ""; _nameController.text = _conversation.name ?? "";
_colorController.text = _colorController.text = _conversation.color == null
_conversationColor == null ? "" : "#${colorToHex(_conversation.color)}"; ? ""
: "#${colorToHex(_conversation.color)}";
_members = await UsersHelper().getList(_conversation.membersID); _members = await UsersHelper().getList(_conversation.membersID);
_admins = _conversation.adminsID; _admins = _conversation.adminsID;
_followConversation = _conversation.following; _followConversation = _conversation.following;