add buy/sell widget param

This commit is contained in:
Matthew Fosse 2024-04-12 09:51:38 -07:00
parent dc862c21ee
commit 6bb6cf6de0

View file

@ -64,6 +64,7 @@ class MeldProvider extends BuyProvider {
String? amount,
}) async {
final params = {
"transactionType": "SELL",
"publicKey": secrets.meldApiKey,
"theme": convertTheme(settingsStore.currentTheme),
"sourceCurrencyCode": currencyCode.toUpperCase(),
@ -83,6 +84,7 @@ class MeldProvider extends BuyProvider {
String? amount,
}) async {
final params = {
"transactionType": "BUY",
"publicKey": secrets.meldApiKey,
"theme": convertTheme(settingsStore.currentTheme),
"destinationCurrencyCode": currencyCode.toUpperCase(),