Fix description not showing in chat details

parent 9e5fa8c2
......@@ -103,8 +103,12 @@ class _ChatSettingsPageState extends State<ChatSettingsPage> {
slivers: <Widget>[
SliverList(
delegate: SliverChildListDelegate.fixed([
if (!room.isDirect) _Description(),
SizedBox(height: 16),
if (!room.isDirect &&
room.topic != null &&
room.topic.isNotEmpty) ...[
_Description(description: room.topic),
SizedBox(height: 16),
],
if (!room.isDirect) _MemberList(room: room)
]),
)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment