From c127fd28b8aa81a2aa73fc73c39ebf8c799c7c97 Mon Sep 17 00:00:00 2001 From: "Lucas.Xu" Date: Wed, 30 Nov 2022 13:23:03 +0800 Subject: [PATCH] chore: fix flutter analyze --- .../appflowy_editor/lib/src/render/rich_text/checkbox_text.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/app_flowy/packages/appflowy_editor/lib/src/render/rich_text/checkbox_text.dart b/frontend/app_flowy/packages/appflowy_editor/lib/src/render/rich_text/checkbox_text.dart index 90c2eb3fb4..461fef0f30 100644 --- a/frontend/app_flowy/packages/appflowy_editor/lib/src/render/rich_text/checkbox_text.dart +++ b/frontend/app_flowy/packages/appflowy_editor/lib/src/render/rich_text/checkbox_text.dart @@ -83,7 +83,6 @@ class _CheckboxNodeWidgetState extends State children: [ GestureDetector( key: iconKey, - child: icon, behavior: HitTestBehavior.opaque, onTap: () async { await widget.editorState.formatTextToCheckbox( @@ -92,6 +91,7 @@ class _CheckboxNodeWidgetState extends State textNode: widget.textNode, ); }, + child: icon, ), Flexible( child: FlowyRichText(