set maxLines in desktop send address and note fields to 5

This commit is contained in:
julian 2022-10-27 08:39:52 -06:00
parent 49c3c15a7d
commit d263bf1b5e

View file

@ -873,6 +873,8 @@ class _DesktopSendState extends ConsumerState<DesktopSend> {
Constants.size.circularBorderRadius, Constants.size.circularBorderRadius,
), ),
child: TextField( child: TextField(
minLines: 1,
maxLines: 5,
key: const Key("sendViewAddressFieldKey"), key: const Key("sendViewAddressFieldKey"),
controller: sendToController, controller: sendToController,
readOnly: false, readOnly: false,
@ -1110,6 +1112,8 @@ class _DesktopSendState extends ConsumerState<DesktopSend> {
Constants.size.circularBorderRadius, Constants.size.circularBorderRadius,
), ),
child: TextField( child: TextField(
minLines: 1,
maxLines: 5,
autocorrect: Util.isDesktop ? false : true, autocorrect: Util.isDesktop ? false : true,
enableSuggestions: Util.isDesktop ? false : true, enableSuggestions: Util.isDesktop ? false : true,
controller: noteController, controller: noteController,