mirror of
https://github.com/status-im/status-react.git
synced 2025-01-13 04:24:40 +00:00
[BUG#2927] Fixed regression when showing transaction detail
This commit is contained in:
parent
5cfe5523eb
commit
b5735230ff
@ -207,7 +207,9 @@
|
|||||||
|
|
||||||
(defn- pretty-print-asset [symbol amount]
|
(defn- pretty-print-asset [symbol amount]
|
||||||
(case symbol
|
(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]}]
|
(defn details-header [{:keys [value date type symbol]}]
|
||||||
[react/view {:style transactions.styles/details-header}
|
[react/view {:style transactions.styles/details-header}
|
||||||
@ -266,8 +268,8 @@
|
|||||||
|
|
||||||
(defview transaction-details []
|
(defview transaction-details []
|
||||||
(letsubs [{:keys [hash url type] :as transaction} [:wallet.transactions/transaction-details]
|
(letsubs [{:keys [hash url type] :as transaction} [:wallet.transactions/transaction-details]
|
||||||
confirmations [:wallet.transactions.details/confirmations]
|
confirmations [:wallet.transactions.details/confirmations]
|
||||||
confirmations-progress [:wallet.transactions.details/confirmations-progress]]
|
confirmations-progress [:wallet.transactions.details/confirmations-progress]]
|
||||||
[react/view {:style styles/flex}
|
[react/view {:style styles/flex}
|
||||||
[status-bar/status-bar]
|
[status-bar/status-bar]
|
||||||
[toolbar/toolbar {}
|
[toolbar/toolbar {}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user