fix: hide "Amount received" on collectible confirmation

This commit is contained in:
Cristian Lungu 2024-11-05 13:33:46 +02:00
parent 3001fa91e9
commit c02d97d380
No known key found for this signature in database
GPG Key ID: FBF86D630661E2CE

View File

@ -68,7 +68,8 @@
(defn- transaction-details
[]
(let [route-loaded? (seq (rf/sub [:wallet/send-route]))
loading-suggested-routes? (rf/sub [:wallet/wallet-send-loading-suggested-routes?])]
loading-suggested-routes? (rf/sub [:wallet/wallet-send-loading-suggested-routes?])
sending-collectible? (rf/sub [:wallet/sending-collectible?])]
[rn/view
{:style (style/details-container
{:loading-suggested-routes? loading-suggested-routes?
@ -81,7 +82,8 @@
[:<>
[estimated-time-view]
[max-fees-view]
[received-amount-view]]
(when-not sending-collectible?
[received-amount-view])]
:else
[quo/text {:style {:align-self :center}}