diff --git a/lib/packages/z_coin_activation/bloc/z_coin_activation_bloc.dart b/lib/packages/z_coin_activation/bloc/z_coin_activation_bloc.dart index 873945693..21fd563ae 100644 --- a/lib/packages/z_coin_activation/bloc/z_coin_activation_bloc.dart +++ b/lib/packages/z_coin_activation/bloc/z_coin_activation_bloc.dart @@ -27,13 +27,12 @@ class ZCoinActivationBloc ); Future isResyncing() async { - final List enabledCoins = (await _repository.getEnabledZCoins()) + final enabledCoins = (await _repository.getEnabledZCoins()) + .map((coin) => coin.toLowerCase()) + .toList(); + final coinsToActivate = (await _repository.getRequestedActivatedCoins()) .map((coin) => coin.toLowerCase()) .toList(); - final List coinsToActivate = - (await _repository.getRequestedActivatedCoins()) - .map((coin) => coin.toLowerCase()) - .toList(); return coinsToActivate.every((coin) => enabledCoins.contains(coin)); }