From d0cf1b61e249af7bf00b09f66f697aaa9bf9b40b Mon Sep 17 00:00:00 2001 From: laiiihz Date: Thu, 1 Apr 2021 16:27:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=97=A0=E6=B3=95=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E5=8A=A8=E6=80=81=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../community/community_views/add_new_event_page.dart | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/lib/ui/community/community_views/add_new_event_page.dart b/lib/ui/community/community_views/add_new_event_page.dart index a30c576b..efa687d4 100644 --- a/lib/ui/community/community_views/add_new_event_page.dart +++ b/lib/ui/community/community_views/add_new_event_page.dart @@ -203,12 +203,13 @@ class _AddNewEventPageState extends State { Divider(height: 1.w), 28.hb, if (widget.initTopic == null) _pickTopic(), - Align( - alignment: Alignment.centerLeft, - child: _renderTopic( - HotTopicModel(name: widget.topicName, id: widget.initTopic), + if (widget.initTopic != null) + Align( + alignment: Alignment.centerLeft, + child: _renderTopic( + HotTopicModel(name: widget.topicName, id: widget.initTopic), + ), ), - ), ], ).material(color: Colors.white), );