Fix keyboard is not entering text in fields until focus (#918)

Godwin Asuquo committed May 10, 2023 at 14:35 UTC 759e61f67ef9869642c99e2872654f30a5655fbc
1 file changed +4 -4
lib/src/screens/send/widgets/send_card.dart
+4 -4
@@ -548,6 +548,10 @@ class SendCardState extends State<SendCard>
548 }
549
550 void _setEffects(BuildContext context) {
551 + if (_effectsInstalled) {
552 + return;
553 + }
554 +
555 if (output.address.isNotEmpty) {
556 addressController.text = output.address;
557 }
@@ -558,10 +562,6 @@ class SendCardState extends State<SendCard>
562 noteController.text = output.note;
563 extractedAddressController.text = output.extractedAddress;
564
561 - if (_effectsInstalled) {
562 - return;
563 - }
564 -
565 cryptoAmountController.addListener(() {
566 final amount = cryptoAmountController.text;
567