1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2024-11-22 04:49: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);
_nameController.text = _conversation.name ?? "";
_colorController.text =
_conversationColor == null ? "" : "#${colorToHex(_conversation.color)}";
_colorController.text = _conversation.color == null
? ""
: "#${colorToHex(_conversation.color)}";
_members = await UsersHelper().getList(_conversation.membersID);
_admins = _conversation.adminsID;
_followConversation = _conversation.following;