mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
chore: replace 'checkbox' with StyleKey.checkbox
This commit is contained in:
parent
6dcf3b3fa7
commit
364a8e6ad2
@ -77,7 +77,7 @@ class _CheckboxNodeWidgetState extends State<CheckboxNodeWidget>
|
||||
debugPrint('[Checkbox] onTap...');
|
||||
TransactionBuilder(widget.editorState)
|
||||
..updateNode(widget.textNode, {
|
||||
'checkbox': !check,
|
||||
StyleKey.checkbox: !check,
|
||||
})
|
||||
..commit();
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user