diff --git a/src/pages/tx-details/tx-details.html b/src/pages/tx-details/tx-details.html index d2b38edeb..f4c6d04b1 100644 --- a/src/pages/tx-details/tx-details.html +++ b/src/pages/tx-details/tx-details.html @@ -29,7 +29,15 @@

To

-

{{destinationAddress || '...'}}

+

{{destinationAddress || '...address to send...'}}

+ + + + + + +

From

+

{{destinationAddress || '...address from was sent...'}}

@@ -44,6 +52,11 @@ {{tx.message}} + + {{'Confirmations' | translate}} diff --git a/src/pages/tx-details/tx-details.ts b/src/pages/tx-details/tx-details.ts index e1b8ea2b4..4fe1f46cd 100644 --- a/src/pages/tx-details/tx-details.ts +++ b/src/pages/tx-details/tx-details.ts @@ -19,6 +19,12 @@ export class TxDetailsPage { this.fiatAmountStr = this.txFormatProvider.formatAlternativeStr('btc', this.tx.amount); } + ionViewDidEnter() { + if (this.tx.action == 'sent') this.title = 'Sent Funds'; + if (this.tx.action == 'received') this.title = 'Received Funds'; + if (this.tx.action == 'moved') this.title = 'Moved Funds'; + } + addMemo() { return; }