mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-11-17 01:37:40 +00:00
minor fix
This commit is contained in:
parent
8d7a6fba81
commit
f0c499dfd0
2 changed files with 3 additions and 3 deletions
|
@ -78,7 +78,7 @@ class DFXBuyProvider extends BuyProvider {
|
||||||
|
|
||||||
Future<String> auth() async {
|
Future<String> auth() async {
|
||||||
final signMessage = await getSignature(
|
final signMessage = await getSignature(
|
||||||
await getSignMessage()); //TODO: Sign message does not work for LTC and BCH
|
await getSignMessage());
|
||||||
|
|
||||||
final requestBody = jsonEncode({
|
final requestBody = jsonEncode({
|
||||||
'wallet': walletName,
|
'wallet': walletName,
|
||||||
|
@ -230,7 +230,7 @@ class DFXBuyProvider extends BuyProvider {
|
||||||
paymentMethod = normalizePaymentMethod(paymentType);
|
paymentMethod = normalizePaymentMethod(paymentType);
|
||||||
if (paymentMethod == null) paymentMethod = paymentType.name;
|
if (paymentMethod == null) paymentMethod = paymentType.name;
|
||||||
} else {
|
} else {
|
||||||
paymentMethod = 'Card';
|
paymentMethod = 'Bank';
|
||||||
}
|
}
|
||||||
|
|
||||||
final action = isBuyAction ? 'buy' : 'sell';
|
final action = isBuyAction ? 'buy' : 'sell';
|
||||||
|
|
|
@ -254,7 +254,7 @@ class OnRamperBuyProvider extends BuyProvider {
|
||||||
switch (tag) {
|
switch (tag) {
|
||||||
case 'OMNI':
|
case 'OMNI':
|
||||||
return tag;
|
return tag;
|
||||||
case 'POLY':
|
case 'POL':
|
||||||
return 'POLYGON';
|
return 'POLYGON';
|
||||||
default:
|
default:
|
||||||
return CryptoCurrency.fromString(tag).fullName ?? tag;
|
return CryptoCurrency.fromString(tag).fullName ?? tag;
|
||||||
|
|
Loading…
Reference in a new issue