From b5735230ff044c4526ba883f721df59bdcdebe7a Mon Sep 17 00:00:00 2001 From: Julien Eluard Date: Fri, 5 Jan 2018 15:57:57 +0100 Subject: [PATCH] [BUG#2927] Fixed regression when showing transaction detail --- src/status_im/ui/screens/wallet/transactions/views.cljs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/status_im/ui/screens/wallet/transactions/views.cljs b/src/status_im/ui/screens/wallet/transactions/views.cljs index f38c59794f..f5f3a829e3 100644 --- a/src/status_im/ui/screens/wallet/transactions/views.cljs +++ b/src/status_im/ui/screens/wallet/transactions/views.cljs @@ -207,7 +207,9 @@ (defn- pretty-print-asset [symbol amount] (case symbol - "ETH" (if amount (money/wei->str :eth amount) "..."))) + ;; TODO (jeluard) Format tokens amount once tokens history is supported + :ETH (if amount (money/wei->str :eth amount) "..."))) + (defn details-header [{:keys [value date type symbol]}] [react/view {:style transactions.styles/details-header} @@ -266,8 +268,8 @@ (defview transaction-details [] (letsubs [{:keys [hash url type] :as transaction} [:wallet.transactions/transaction-details] - confirmations [:wallet.transactions.details/confirmations] - confirmations-progress [:wallet.transactions.details/confirmations-progress]] + confirmations [:wallet.transactions.details/confirmations] + confirmations-progress [:wallet.transactions.details/confirmations-progress]] [react/view {:style styles/flex} [status-bar/status-bar] [toolbar/toolbar {}