mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-22 11:39:22 +00:00
add buy/sell widget param
This commit is contained in:
parent
dc862c21ee
commit
6bb6cf6de0
1 changed files with 2 additions and 0 deletions
|
@ -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(),
|
||||
|
|
Loading…
Reference in a new issue