[#4857] Update transactions when navigate to tx details from /send message

Signed-off-by: Goran Jovic <goranjovic@gmail.com>
This commit is contained in:
Dmitry Novotochinov 2018-07-05 18:00:02 +03:00 committed by Goran Jovic
parent a2ee06bc9d
commit 30a79c88bb
No known key found for this signature in database
GPG Key ID: D429D1A9B2EB8A8E
1 changed files with 1 additions and 0 deletions

View File

@ -62,6 +62,7 @@
(letsubs [confirmed? [:transaction-confirmed? tx-hash]
tx-exists? [:wallet-transaction-exists? tx-hash]]
[react/touchable-highlight {:on-press #(when tx-exists?
(re-frame/dispatch [:update-transactions])
(re-frame/dispatch [:show-transaction-details tx-hash]))}
[react/view style/command-send-status-container
[vector-icons/icon (if confirmed? :icons/check :icons/dots)