JournalEditor: We don't need the extra Form

We're not using it for anything.
This commit is contained in:
Vishesh Handa
2019-12-23 12:25:57 +01:00
parent 757bf0b7ac
commit fec3a91df1

View File

@ -200,8 +200,7 @@ class NoteMarkdownEditor extends StatelessWidget {
style = style.copyWith(fontFamily: "Roboto Mono");
}
return Form(
child: TextFormField(
return TextField(
autofocus: true,
autocorrect: false,
keyboardType: TextInputType.multiline,
@ -213,7 +212,6 @@ class NoteMarkdownEditor extends StatelessWidget {
),
controller: textController,
textCapitalization: TextCapitalization.sentences,
),
);
}
}