Fix Mobx issue (#1922)
Some checks are pending
Cache Dependencies / test (push) Waiting to run

This commit is contained in:
Omar Hatem 2025-01-02 00:14:00 +02:00 committed by GitHub
parent d33a901f66
commit f2bdb32463
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -349,8 +349,10 @@ abstract class ElectrumWalletAddressesBase extends WalletAddresses with Store {
type: addressPageType,
network: network,
);
_addresses.add(address);
Future.delayed(Duration.zero, () => updateAddressesByMatch());
Future.delayed(Duration.zero, () {
_addresses.add(address);
updateAddressesByMatch();
});
return address;
}