Release 4.4.4 (#451)

* Update build versions for Cake Wallet for ios and android.

* Add formatted crypto amount to xmr transaction for anypay transactions. Hide order id and payment id if they are not exists on payment status screen.

* Change build number for Cake Wallet ios and android.

* Change ionia api to production endpoint.

* Update version for monero.com app.

* Update build number to cake wallet.

* Fix for formatting amount for any_pay_payment totalAmount.
This commit is contained in:
mkyq 2022-08-04 14:27:28 +01:00 committed by GitHub
parent 3cfe2ec532
commit aa9ed08648
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 12 additions and 12 deletions

View file

@ -1,8 +1,8 @@
import 'package:cake_wallet/anypay/any_pay_chain.dart';
import 'package:cw_bitcoin/bitcoin_amount_format.dart';
import 'package:cw_core/monero_amount_format.dart';
import 'package:flutter/foundation.dart';
import 'package:cake_wallet/anypay/any_pay_payment_instruction.dart';
import 'package:cake_wallet/bitcoin/bitcoin.dart';
import 'package:cake_wallet/monero/monero.dart';
class AnyPayPayment {
AnyPayPayment({
@ -45,11 +45,11 @@ class AnyPayPayment {
.fold<int>(0, (int outAcc, out) => outAcc + out.amount));
switch (chain) {
case AnyPayChain.xmr:
return moneroAmountToString(amount: total);
return monero.formatterMoneroAmountToString(amount: total);
case AnyPayChain.btc:
return bitcoinAmountToString(amount: total);
return bitcoin.formatterBitcoinAmountToString(amount: total);
case AnyPayChain.ltc:
return bitcoinAmountToString(amount: total);
return bitcoin.formatterBitcoinAmountToString(amount: total);
default:
return null;
}