textfields clear on send

This commit is contained in:
ryleedavis 2022-11-16 16:36:50 -07:00
parent bd0b01efcd
commit 2936249bd6

View file

@ -248,6 +248,13 @@ class _DesktopSendState extends ConsumerState<DesktopSend> {
label: "Yes",
onPressed: () {
Navigator.of(context).pop(true);
setState(() {
sendToController.text = "";
cryptoAmountController.text = "";
baseAmountController.text = "";
noteController.text = "";
});
},
),
),