Can inject currency data in CurrencyNameTable (#6276)

This commit is contained in:
Nicolas Dorier
2024-10-04 22:24:44 +09:00
committed by GitHub
parent 206d222455
commit 64ba8248d2
13 changed files with 179 additions and 53 deletions

View File

@@ -60,6 +60,7 @@ public partial class UIStoresController : Controller
WalletFileParsers onChainWalletParsers,
UriResolver uriResolver,
SettingsRepository settingsRepository,
CurrencyNameTable currencyNameTable,
EventAggregator eventAggregator)
{
_rateFactory = rateFactory;
@@ -83,6 +84,7 @@ public partial class UIStoresController : Controller
_onChainWalletParsers = onChainWalletParsers;
_uriResolver = uriResolver;
_settingsRepository = settingsRepository;
_currencyNameTable = currencyNameTable;
_eventAggregator = eventAggregator;
_html = html;
_defaultRules = defaultRules;
@@ -101,6 +103,7 @@ public partial class UIStoresController : Controller
private readonly UserManager<ApplicationUser> _userManager;
private readonly RateFetcher _rateFactory;
private readonly SettingsRepository _settingsRepository;
private readonly CurrencyNameTable _currencyNameTable;
private readonly ExplorerClientProvider _explorerProvider;
private readonly LanguageService _langService;
private readonly PaymentMethodHandlerDictionary _handlers;