mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-22 18:54:47 +00:00
Fix anonpay clear form buttton (#850)
This commit is contained in:
parent
3006679560
commit
8b7bfd74e3
2 changed files with 6 additions and 4 deletions
|
@ -27,9 +27,6 @@ class AnonPayInvoicePage extends BasePage {
|
|||
this.anonInvoicePageViewModel,
|
||||
this.receiveOptionViewModel,
|
||||
) : _amountFocusNode = FocusNode() {
|
||||
_nameController.text = anonInvoicePageViewModel.receipientName;
|
||||
_descriptionController.text = anonInvoicePageViewModel.description;
|
||||
_emailController.text = anonInvoicePageViewModel.receipientEmail;
|
||||
}
|
||||
|
||||
final _nameController = TextEditingController();
|
||||
|
|
|
@ -22,7 +22,12 @@ class AnonInvoiceForm extends StatelessWidget {
|
|||
required this.depositAmountFocus,
|
||||
}) : _nameFocusNode = FocusNode(),
|
||||
_emailFocusNode = FocusNode(),
|
||||
_descriptionFocusNode = FocusNode();
|
||||
_descriptionFocusNode = FocusNode(){
|
||||
amountController.text = anonInvoicePageViewModel.amount;
|
||||
nameController.text = anonInvoicePageViewModel.receipientName;
|
||||
descriptionController.text = anonInvoicePageViewModel.description;
|
||||
emailController.text = anonInvoicePageViewModel.receipientEmail;
|
||||
}
|
||||
|
||||
final TextEditingController amountController;
|
||||
final TextEditingController nameController;
|
||||
|
|
Loading…
Reference in a new issue