mirror of
https://github.com/status-im/status-react.git
synced 2025-01-11 11:34:45 +00:00
[BUG#2417] Update balance when sending request from chat
This commit is contained in:
parent
2dd25646ca
commit
b76095e599
@ -119,7 +119,7 @@
|
||||
(if sending-from-chat?
|
||||
;;SENDING FROM CHAT
|
||||
{:db (assoc-in new-db [:wallet :send-transaction] sending-db) ; we need to completely reset sending state here
|
||||
:dispatch [:navigate-to-modal :wallet-send-transaction-modal]}
|
||||
:dispatch-n [[:update-wallet (map :symbol (tokens/tokens-for (ethereum/network->chain-keyword (:network db))))] [:navigate-to-modal :wallet-send-transaction-modal]]}
|
||||
;;SEND SCREEN WAITING SIGNAL
|
||||
(let [{:keys [later? password]} (get-in db [:wallet :send-transaction])
|
||||
new-db' (update-in new-db [:wallet :send-transaction] merge sending-db)] ; just update sending state as we are in wallet flow
|
||||
|
Loading…
x
Reference in New Issue
Block a user