mirror of
https://github.com/status-im/status-react.git
synced 2025-02-03 06:34:14 +00:00
fix(wallet)_: error on tapping from/to section in tx confirmation screen (#21695)
This commit fixes the error thrown when tapping the From or To sections in the transaction confirmation screen. Signed-off-by: Mohamed Javid <19339952+smohamedjavid@users.noreply.github.com>
This commit is contained in:
parent
de2b5fb935
commit
4efb3c111a
@ -286,37 +286,33 @@
|
|||||||
:gradient-cover? true
|
:gradient-cover? true
|
||||||
:customization-color (:color account)}
|
:customization-color (:color account)}
|
||||||
[rn/view
|
[rn/view
|
||||||
[rn/pressable
|
[transaction-title
|
||||||
{:on-press #(rf/dispatch [:navigate-to-within-stack
|
{:token-display-name token-symbol
|
||||||
[:screen/wallet.transaction-details
|
:amount amount
|
||||||
:screen/wallet.transaction-confirmation]])}
|
:account account
|
||||||
[transaction-title
|
:type type
|
||||||
{:token-display-name token-symbol
|
:recipient recipient
|
||||||
:amount amount
|
:route route
|
||||||
:account account
|
:to-network bridge-to-network
|
||||||
:type type
|
:image-url image-url
|
||||||
:recipient recipient
|
:transaction-type transaction-type
|
||||||
:route route
|
:collectible? collectible?}]
|
||||||
:to-network bridge-to-network
|
[user-summary
|
||||||
:image-url image-url
|
{:summary-type :status-account
|
||||||
:transaction-type transaction-type
|
:accessibility-label :summary-from-label
|
||||||
:collectible? collectible?}]
|
:label (i18n/label :t/from-capitalized)
|
||||||
[user-summary
|
:account-props from-account-props
|
||||||
{:summary-type :status-account
|
:theme theme}]
|
||||||
:accessibility-label :summary-from-label
|
[user-summary
|
||||||
:label (i18n/label :t/from-capitalized)
|
{:summary-type (if (= transaction-type :tx/bridge)
|
||||||
:account-props from-account-props
|
:status-account
|
||||||
:theme theme}]
|
:account)
|
||||||
[user-summary
|
:accessibility-label :summary-to-label
|
||||||
{:summary-type (if (= transaction-type :tx/bridge)
|
:label (i18n/label :t/to-capitalized)
|
||||||
:status-account
|
:account-props (if (= transaction-type :tx/bridge)
|
||||||
:account)
|
from-account-props
|
||||||
:accessibility-label :summary-to-label
|
user-props)
|
||||||
:label (i18n/label :t/to-capitalized)
|
:recipient recipient
|
||||||
:account-props (if (= transaction-type :tx/bridge)
|
:bridge-tx? (= transaction-type :tx/bridge)
|
||||||
from-account-props
|
:account-to? true
|
||||||
user-props)
|
:theme theme}]]]]))))
|
||||||
:recipient recipient
|
|
||||||
:bridge-tx? (= transaction-type :tx/bridge)
|
|
||||||
:account-to? true
|
|
||||||
:theme theme}]]]]]))))
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user