mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-03-25 08:38:45 +00:00
use final
This commit is contained in:
parent
2aca5f472b
commit
accc9a9b4e
1 changed files with 8 additions and 6 deletions
|
@ -156,10 +156,11 @@ class Wallets {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
List<Future<void>> walletInitFutures = [];
|
final List<Future<void>> walletInitFutures = [];
|
||||||
List<({Wallet wallet, bool shouldAutoSync})> walletsToInitLinearly = [];
|
final List<({Wallet wallet, bool shouldAutoSync})> walletsToInitLinearly =
|
||||||
|
[];
|
||||||
|
|
||||||
List<String> walletIdsToEnableAutoSync = [];
|
final List<String> walletIdsToEnableAutoSync = [];
|
||||||
bool shouldAutoSyncAll = false;
|
bool shouldAutoSyncAll = false;
|
||||||
switch (prefs.syncType) {
|
switch (prefs.syncType) {
|
||||||
case SyncingType.currentWalletOnly:
|
case SyncingType.currentWalletOnly:
|
||||||
|
@ -238,10 +239,11 @@ class Wallets {
|
||||||
List<Wallet> wallets,
|
List<Wallet> wallets,
|
||||||
bool isDesktop,
|
bool isDesktop,
|
||||||
) async {
|
) async {
|
||||||
List<Future<void>> walletInitFutures = [];
|
final List<Future<void>> walletInitFutures = [];
|
||||||
List<({Wallet wallet, bool shouldAutoSync})> walletsToInitLinearly = [];
|
final List<({Wallet wallet, bool shouldAutoSync})> walletsToInitLinearly =
|
||||||
|
[];
|
||||||
|
|
||||||
List<String> walletIdsToEnableAutoSync = [];
|
final List<String> walletIdsToEnableAutoSync = [];
|
||||||
bool shouldAutoSyncAll = false;
|
bool shouldAutoSyncAll = false;
|
||||||
switch (prefs.syncType) {
|
switch (prefs.syncType) {
|
||||||
case SyncingType.currentWalletOnly:
|
case SyncingType.currentWalletOnly:
|
||||||
|
|
Loading…
Reference in a new issue