Add todo comment about address delayed

This commit is contained in:
poka 2022-05-30 05:31:33 +02:00
parent cd6c3e9c70
commit 54bc774aa3
1 changed files with 3 additions and 1 deletions

View File

@ -174,7 +174,9 @@ class SubstrateSdk with ChangeNotifier {
}
importIsLoading = false;
await Future.delayed(const Duration(milliseconds: 20));
//TODO: fix bug of address rendering to skip this delay
await Future.delayed(const Duration(milliseconds: 50));
notifyListeners();
final bakedAddress = keyring.allAccounts.last.address;
return bakedAddress!;