From cbbda7237b9085c3451e4f1cc36b5cf18d9dba11 Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Sat, 13 Mar 2021 11:09:54 +0100 Subject: [PATCH] Fix invalid check --- lib/ui/screens/update_conversation_screen.dart | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/ui/screens/update_conversation_screen.dart b/lib/ui/screens/update_conversation_screen.dart index 2ca38d3..d5c2ff0 100644 --- a/lib/ui/screens/update_conversation_screen.dart +++ b/lib/ui/screens/update_conversation_screen.dart @@ -80,8 +80,9 @@ class _UpdateConversationScreen extends State { 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;