mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-01-11 13:14:32 +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,
|
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,
|
||||||
|
|
Loading…
Reference in a new issue