diff --git a/frontend/appflowy_flutter/lib/mobile/presentation/page_item/mobile_view_item.dart b/frontend/appflowy_flutter/lib/mobile/presentation/page_item/mobile_view_item.dart index 73538d4d1eeb5..ba56c9e5e3011 100644 --- a/frontend/appflowy_flutter/lib/mobile/presentation/page_item/mobile_view_item.dart +++ b/frontend/appflowy_flutter/lib/mobile/presentation/page_item/mobile_view_item.dart @@ -257,7 +257,6 @@ class _SingleMobileInnerViewItemState extends State { final children = [ // expand icon _buildLeftIcon(), - const HSpace(6), // icon _buildViewIcon(), const HSpace(8), @@ -326,22 +325,23 @@ class _SingleMobileInnerViewItemState extends State { // show > if the view is expandable. // show ยท if the view can't contain child views. Widget _buildLeftIcon() { - if (isReferencedDatabaseView(widget.view, widget.parentView)) { - return const _DotIconWidget(); - } - if (context.read().state.view.childViews.isEmpty) { return HSpace(widget.leftPadding); } return GestureDetector( - child: AnimatedRotation( - duration: const Duration(milliseconds: 250), - turns: widget.isExpanded ? 0 : -0.25, - child: const FlowySvg( - FlowySvgs.m_expand_s, - blendMode: null, - ), + behavior: HitTestBehavior.opaque, + child: Padding( + padding: const EdgeInsets.only(right: 6.0, top: 6.0, bottom: 6.0), + child: widget.isExpanded + ? const FlowySvg( + FlowySvgs.m_expand_s, + blendMode: null, + ) + : const FlowySvg( + FlowySvgs.m_collapse_s, + blendMode: null, + ), ), onTap: () { context diff --git a/frontend/resources/flowy_icons/16x/m_collapse.svg b/frontend/resources/flowy_icons/16x/m_collapse.svg index c88452eafdb33..bf88470d69f1c 100644 --- a/frontend/resources/flowy_icons/16x/m_collapse.svg +++ b/frontend/resources/flowy_icons/16x/m_collapse.svg @@ -1,3 +1,3 @@ - - + +