From 364a8e6ad2daba8784aa463a2d595ab15cb64019 Mon Sep 17 00:00:00 2001 From: "Lucas.Xu" Date: Mon, 8 Aug 2022 22:24:52 +0800 Subject: [PATCH] chore: replace 'checkbox' with StyleKey.checkbox --- .../flowy_editor/lib/render/rich_text/checkbox_text.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/app_flowy/packages/flowy_editor/lib/render/rich_text/checkbox_text.dart b/frontend/app_flowy/packages/flowy_editor/lib/render/rich_text/checkbox_text.dart index 5c02955d7b..317d1a6bdf 100644 --- a/frontend/app_flowy/packages/flowy_editor/lib/render/rich_text/checkbox_text.dart +++ b/frontend/app_flowy/packages/flowy_editor/lib/render/rich_text/checkbox_text.dart @@ -77,7 +77,7 @@ class _CheckboxNodeWidgetState extends State debugPrint('[Checkbox] onTap...'); TransactionBuilder(widget.editorState) ..updateNode(widget.textNode, { - 'checkbox': !check, + StyleKey.checkbox: !check, }) ..commit(); },