Skip to content

Commit

Permalink
some naming refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
briansztamfater committed May 12, 2024
1 parent e9e06b9 commit 533b755
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/status_im/contexts/wallet/send/events.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
receiver-networks (get-in db [:wallet :ui :send :receiver-networks])
receiver-network-values (get-in db [:wallet :ui :send :receiver-network-values])
sender-network-values (get-in db [:wallet :ui :send :sender-network-values])
transaction-type (get-in db [:wallet :ui :send :tx-type])
tx-type (get-in db [:wallet :ui :send :tx-type])
disabled-from-chain-ids (or (get-in db [:wallet :ui :send :disabled-from-chain-ids]) [])
token-decimals (if collectible 0 (:decimals token))
native-token? (and token (= token-display-name "ETH"))
Expand All @@ -57,15 +57,15 @@
(send-utils/network-amounts from-network-values-for-ui
disabled-from-chain-ids
receiver-networks
transaction-type
tx-type
false)
(send-utils/reset-network-amounts-to-zero
sender-network-values))
receiver-network-values (if routes-available?
(send-utils/network-amounts to-network-values-for-ui
disabled-from-chain-ids
receiver-networks
transaction-type
tx-type
true)
(send-utils/reset-network-amounts-to-zero
receiver-network-values))
Expand Down

0 comments on commit 533b755

Please sign in to comment.