forked from axiom-team/gecko
fix: no delay needed anymore in importKeyStore (good address rendering)
This commit is contained in:
parent
54bc774aa3
commit
1a7224fd57
|
@ -175,11 +175,8 @@ class SubstrateSdk with ChangeNotifier {
|
||||||
|
|
||||||
importIsLoading = false;
|
importIsLoading = false;
|
||||||
|
|
||||||
//TODO: fix bug of address rendering to skip this delay
|
|
||||||
await Future.delayed(const Duration(milliseconds: 50));
|
|
||||||
notifyListeners();
|
notifyListeners();
|
||||||
final bakedAddress = keyring.allAccounts.last.address;
|
return keyring.allAccounts.last.address!;
|
||||||
return bakedAddress!;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void reload() {
|
void reload() {
|
||||||
|
|
|
@ -976,7 +976,7 @@ packages:
|
||||||
description:
|
description:
|
||||||
path: "."
|
path: "."
|
||||||
ref: fixAndroidActivityVersion
|
ref: fixAndroidActivityVersion
|
||||||
resolved-ref: "069a9f696ec8d9eacd0a3fdd284116fd2c1faf44"
|
resolved-ref: "3dcfaa00f8e53e33346332d7a1e3612b1cd03b0c"
|
||||||
url: "https://github.com/poka-IT/sdk.git"
|
url: "https://github.com/poka-IT/sdk.git"
|
||||||
source: git
|
source: git
|
||||||
version: "0.4.6"
|
version: "0.4.6"
|
||||||
|
|
|
@ -75,7 +75,7 @@ dependencies:
|
||||||
desktop_window: ^0.4.0
|
desktop_window: ^0.4.0
|
||||||
durt: ^0.1.6
|
durt: ^0.1.6
|
||||||
package_info_plus: ^1.4.2
|
package_info_plus: ^1.4.2
|
||||||
polkawallet_sdk: #^0.4.5
|
polkawallet_sdk: #^0.4.6
|
||||||
git:
|
git:
|
||||||
url: https://github.com/poka-IT/sdk.git
|
url: https://github.com/poka-IT/sdk.git
|
||||||
ref: fixAndroidActivityVersion
|
ref: fixAndroidActivityVersion
|
||||||
|
|
Loading…
Reference in New Issue