atomic Confirm button for transactions

This commit is contained in:
Roman Volosovskyi 2017-09-15 17:14:30 +03:00
parent 805d874846
commit d86a853f07
2 changed files with 2 additions and 2 deletions

View File

@ -76,5 +76,5 @@
#(do (rf/dispatch [:accept-transaction password id]) #(do (rf/dispatch [:accept-transaction password id])
(rf/dispatch [:set :confirmed-transactions-count 1])) (rf/dispatch [:set :confirmed-transactions-count 1]))
#(rf/dispatch [:set-in [:transaction-details-ui-props :confirmed?] true]))] #(rf/dispatch [:set-in [:transaction-details-ui-props :confirmed?] true]))]
[sticky-button/sticky-button confirm-text confirm-fn])) [sticky-button/sticky-button confirm-text confirm-fn true]))
[offline-view/offline-view {:top (if platform/ios? 21 0)}]])) [offline-view/offline-view {:top (if platform/ios? 21 0)}]]))

View File

@ -68,5 +68,5 @@
#(do (rf/dispatch [:accept-transactions password]) #(do (rf/dispatch [:accept-transactions password])
(rf/dispatch [:set :confirmed-transactions-count (count transactions)])) (rf/dispatch [:set :confirmed-transactions-count (count transactions)]))
#(rf/dispatch [:set-in [:transactions-list-ui-props :confirmed?] true]))] #(rf/dispatch [:set-in [:transactions-list-ui-props :confirmed?] true]))]
[sticky-button/sticky-button confirm-text confirm-fn])) [sticky-button/sticky-button confirm-text confirm-fn true]))
[offline-view/offline-view {:top (if platform/ios? 21 0)}]])) [offline-view/offline-view {:top (if platform/ios? 21 0)}]]))