fix null is not int when initCurrencyParameters

https://sentry.io/share/issue/da813434b4ba48c7b53dadaeb5d70cc1/
This commit is contained in:
poka 2022-12-06 01:44:38 +01:00
parent 535e121505
commit 30b8b68bef
2 changed files with 4 additions and 2 deletions

View File

@ -537,7 +537,6 @@ class SubstrateSdk with ChangeNotifier {
notifyListeners();
});
await initCurrencyParameters();
await getBalanceRatio();
notifyListeners();

View File

@ -146,8 +146,11 @@ class HomeScreen extends StatelessWidget {
sub.reload();
} else {
await sub.connectNode(ctx);
// Currency parameters
sub.initCurrencyParameters();
}
// Indexer
// Indexer Blockchain start
getBlockStart();
});
// await sub.connectNode(ctx);