mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-01-11 05:04:35 +00:00
set maxLines in desktop send address and note fields to 5
This commit is contained in:
parent
49c3c15a7d
commit
d263bf1b5e
1 changed files with 4 additions and 0 deletions
|
@ -873,6 +873,8 @@ class _DesktopSendState extends ConsumerState<DesktopSend> {
|
|||
Constants.size.circularBorderRadius,
|
||||
),
|
||||
child: TextField(
|
||||
minLines: 1,
|
||||
maxLines: 5,
|
||||
key: const Key("sendViewAddressFieldKey"),
|
||||
controller: sendToController,
|
||||
readOnly: false,
|
||||
|
@ -1110,6 +1112,8 @@ class _DesktopSendState extends ConsumerState<DesktopSend> {
|
|||
Constants.size.circularBorderRadius,
|
||||
),
|
||||
child: TextField(
|
||||
minLines: 1,
|
||||
maxLines: 5,
|
||||
autocorrect: Util.isDesktop ? false : true,
|
||||
enableSuggestions: Util.isDesktop ? false : true,
|
||||
controller: noteController,
|
||||
|
|
Loading…
Reference in a new issue