Updated on 2026-08-14
This commit is contained in:
parent
17066df741
commit
c4241a2ee4
5 changed files with 14 additions and 2 deletions
|
|
@ -91,7 +91,7 @@ private fun handleAction(action: Action, appState: () -> AppState?, dispatch: Di
|
|||
config?.moonPayApiSecretKey,
|
||||
) { mercuryoWidgetId, moonPayKey, moonPaySecretKey ->
|
||||
scope.launch {
|
||||
val buyService = MercuryoService(MercuryoApi.API_VERSION, mercuryoWidgetId)
|
||||
val buyService = MercuryoService(MercuryoApi.API_VERSION, mercuryoWidgetId, "")
|
||||
val sellService = MoonPayService(moonPayKey, moonPaySecretKey)
|
||||
val exchangeManager = CurrencyExchangeManager(buyService, sellService)
|
||||
store.dispatchOnMain(GlobalAction.ExchangeManager.Init.Success(exchangeManager))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue