From 393418f2e77f6f715bf7c0518818afa56e42e288 Mon Sep 17 00:00:00 2001 From: julian Date: Fri, 10 Feb 2023 18:38:39 -0600 Subject: [PATCH] possible memory bandaid --- lib/services/exchange/exchange_data_loading_service.dart | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/lib/services/exchange/exchange_data_loading_service.dart b/lib/services/exchange/exchange_data_loading_service.dart index 00874a714..ef72a296b 100644 --- a/lib/services/exchange/exchange_data_loading_service.dart +++ b/lib/services/exchange/exchange_data_loading_service.dart @@ -115,12 +115,16 @@ class ExchangeDataLoadingService { try { await Future.wait([ _loadChangeNowCurrencies(), - _loadChangeNowFixedRatePairs(), - _loadChangeNowEstimatedRatePairs(), + // _loadChangeNowFixedRatePairs(), + // _loadChangeNowEstimatedRatePairs(), // loadSimpleswapFixedRateCurrencies(ref), // loadSimpleswapFloatingRateCurrencies(ref), loadMajesticBankCurrencies(), ]); + + await _loadChangeNowFixedRatePairs(); + await _loadChangeNowEstimatedRatePairs(); + Logging.instance.log( "ExchangeDataLoadingService.loadAll finished in ${DateTime.now().difference(start).inSeconds} seconds", level: LogLevel.Info,