[V4] FIX: BCH balance export label

This commit is contained in:
Gabriel Bazán 2018-02-13 12:32:39 -03:00
parent da839a554a
commit ee82de3778
1 changed files with 5 additions and 2 deletions

View File

@ -33,6 +33,8 @@ export class WalletTransactionHistoryPage {
public satToUnit: number;
public satToBtc: number;
private currency: string;
constructor(
private profileProvider: ProfileProvider,
private navCtrl: NavController,
@ -53,6 +55,7 @@ export class WalletTransactionHistoryPage {
ionViewWillEnter() {
this.wallet = this.profileProvider.getWallet(this.navParams.data.walletId);
this.currency = this.wallet.coin.toUpperCase();
this.isCordova = this.platformProvider.isCordova;
this.appName = this.appProvider.info.nameCase;
this.config = this.configProvider.get();
@ -120,7 +123,7 @@ export class WalletTransactionHistoryPage {
'Destination': it.addressTo || '',
'Description': _note,
'Amount': _amount,
'Currency': 'BTC',
'Currency': this.currency,
'Txid': it.txid,
'Creator': _creator,
'Copayers': _copayers,
@ -134,7 +137,7 @@ export class WalletTransactionHistoryPage {
'Destination': 'Bitcoin Network Fees',
'Description': '',
'Amount': '-' + _fee,
'Currency': 'BTC',
'Currency': this.currency,
'Txid': '',
'Creator': '',
'Copayers': ''