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

This commit is contained in:
Godwin Asuquo 2023-05-10 14:35:41 +03:00 committed by GitHub
parent 9b0b1e37c9
commit 759e61f67e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -548,6 +548,10 @@ class SendCardState extends State<SendCard>
}
void _setEffects(BuildContext context) {
if (_effectsInstalled) {
return;
}
if (output.address.isNotEmpty) {
addressController.text = output.address;
}
@ -558,10 +562,6 @@ class SendCardState extends State<SendCard>
noteController.text = output.note;
extractedAddressController.text = output.extractedAddress;
if (_effectsInstalled) {
return;
}
cryptoAmountController.addListener(() {
final amount = cryptoAmountController.text;