mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-22 19:49:22 +00:00
fixes
This commit is contained in:
parent
d80127030a
commit
14f87c8cb2
3 changed files with 21 additions and 5 deletions
BIN
assets/images/meld_dark.png
Normal file
BIN
assets/images/meld_dark.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 103 KiB |
|
@ -72,7 +72,7 @@ class MeldProvider extends BuyProvider {
|
|||
"walletAddress": walletAddress,
|
||||
};
|
||||
|
||||
final uri = Uri.https(baseBuyUrl, '', params);
|
||||
final uri = Uri.https(baseSellUrl, '', params);
|
||||
return uri;
|
||||
}
|
||||
|
||||
|
|
|
@ -57,9 +57,18 @@ class ProvidersHelper {
|
|||
switch (walletType) {
|
||||
case WalletType.nano:
|
||||
case WalletType.banano:
|
||||
return [ProviderType.askEachTime, ProviderType.onramper];
|
||||
return [
|
||||
ProviderType.askEachTime,
|
||||
ProviderType.onramper,
|
||||
ProviderType.meld,
|
||||
];
|
||||
case WalletType.monero:
|
||||
return [ProviderType.askEachTime, ProviderType.onramper, ProviderType.dfx];
|
||||
return [
|
||||
ProviderType.askEachTime,
|
||||
ProviderType.onramper,
|
||||
ProviderType.dfx,
|
||||
ProviderType.meld,
|
||||
];
|
||||
case WalletType.bitcoin:
|
||||
case WalletType.polygon:
|
||||
case WalletType.ethereum:
|
||||
|
@ -77,7 +86,8 @@ class ProvidersHelper {
|
|||
ProviderType.askEachTime,
|
||||
ProviderType.onramper,
|
||||
ProviderType.robinhood,
|
||||
ProviderType.moonpay
|
||||
ProviderType.moonpay,
|
||||
ProviderType.meld,
|
||||
];
|
||||
case WalletType.solana:
|
||||
return [ProviderType.askEachTime, ProviderType.onramper, ProviderType.robinhood];
|
||||
|
@ -97,16 +107,22 @@ class ProvidersHelper {
|
|||
ProviderType.onramper,
|
||||
ProviderType.moonpay,
|
||||
ProviderType.dfx,
|
||||
ProviderType.meld,
|
||||
];
|
||||
case WalletType.litecoin:
|
||||
case WalletType.bitcoinCash:
|
||||
return [ProviderType.askEachTime, ProviderType.moonpay];
|
||||
return [
|
||||
ProviderType.askEachTime,
|
||||
ProviderType.moonpay,
|
||||
ProviderType.meld,
|
||||
];
|
||||
case WalletType.solana:
|
||||
return [
|
||||
ProviderType.askEachTime,
|
||||
ProviderType.onramper,
|
||||
ProviderType.robinhood,
|
||||
ProviderType.moonpay,
|
||||
ProviderType.meld,
|
||||
];
|
||||
case WalletType.monero:
|
||||
case WalletType.nano:
|
||||
|
|
Loading…
Reference in a new issue