mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-06-27 17:29:50 +08:00
JournalEditor: We don't need the extra Form
We're not using it for anything.
This commit is contained in:
@ -200,8 +200,7 @@ class NoteMarkdownEditor extends StatelessWidget {
|
|||||||
style = style.copyWith(fontFamily: "Roboto Mono");
|
style = style.copyWith(fontFamily: "Roboto Mono");
|
||||||
}
|
}
|
||||||
|
|
||||||
return Form(
|
return TextField(
|
||||||
child: TextFormField(
|
|
||||||
autofocus: true,
|
autofocus: true,
|
||||||
autocorrect: false,
|
autocorrect: false,
|
||||||
keyboardType: TextInputType.multiline,
|
keyboardType: TextInputType.multiline,
|
||||||
@ -213,7 +212,6 @@ class NoteMarkdownEditor extends StatelessWidget {
|
|||||||
),
|
),
|
||||||
controller: textController,
|
controller: textController,
|
||||||
textCapitalization: TextCapitalization.sentences,
|
textCapitalization: TextCapitalization.sentences,
|
||||||
),
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user