fix MobX Exception: computed values issue (#1763)
Some checks failed
Cache Dependencies / test (push) Has been cancelled

This commit is contained in:
Serhii 2024-10-28 02:37:38 +02:00 committed by GitHub
parent 54c41d41cd
commit 5c206a8b7c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -331,7 +331,7 @@ abstract class ElectrumWalletAddressesBase extends WalletAddresses with Store {
);
silentAddresses.add(address);
updateAddressesByMatch();
Future.delayed(Duration.zero, () => updateAddressesByMatch());
return address;
}
@ -348,7 +348,7 @@ abstract class ElectrumWalletAddressesBase extends WalletAddresses with Store {
network: network,
);
_addresses.add(address);
updateAddressesByMatch();
Future.delayed(Duration.zero, () => updateAddressesByMatch());
return address;
}