atomic Confirm button for transactions
This commit is contained in:
parent
805d874846
commit
d86a853f07
|
@ -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)}]]))
|
||||||
|
|
|
@ -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)}]]))
|
||||||
|
|
Loading…
Reference in New Issue