mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2025-04-25 07:07:32 -04:00
chore(typos): fix typos (#1961)
Co-authored-by: Nathan.fooo <86001920+appflowy@users.noreply.github.com>
This commit is contained in:
parent
77d787a929
commit
4798467621
38 changed files with 80 additions and 80 deletions
|
@ -128,11 +128,11 @@ class _AppFlowyEditorPageState extends State<_AppFlowyEditorPage> {
|
|||
@override
|
||||
Widget build(BuildContext context) {
|
||||
final theme = Theme.of(context);
|
||||
final autoFocusParamters = _autoFocusParamters();
|
||||
final autoFocusParameters = _autoFocusParameters();
|
||||
final editor = AppFlowyEditor(
|
||||
editorState: editorState,
|
||||
autoFocus: autoFocusParamters.value1,
|
||||
focusedSelection: autoFocusParamters.value2,
|
||||
autoFocus: autoFocusParameters.value1,
|
||||
focusedSelection: autoFocusParameters.value2,
|
||||
customBuilders: {
|
||||
// Divider
|
||||
kDividerType: DividerWidgetBuilder(),
|
||||
|
@ -234,7 +234,7 @@ class _AppFlowyEditorPageState extends State<_AppFlowyEditorPage> {
|
|||
}
|
||||
}
|
||||
|
||||
dartz.Tuple2<bool, Selection?> _autoFocusParamters() {
|
||||
dartz.Tuple2<bool, Selection?> _autoFocusParameters() {
|
||||
if (editorState.document.isEmpty) {
|
||||
return dartz.Tuple2(true, Selection.single(path: [0], startOffset: 0));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue