Unsigned transactions back button doesnt cancel transactions anymore

This commit is contained in:
Gustavo Nunes 2017-04-18 01:04:35 -03:00 committed by Roman Volosovskyi
parent ea31f70b5b
commit ac7da93387
1 changed files with 1 additions and 2 deletions

View File

@ -17,8 +17,7 @@
(defn toolbar-view [transactions] (defn toolbar-view [transactions]
[toolbar/toolbar [toolbar/toolbar
{:background-color st/transactions-toolbar-background {:background-color st/transactions-toolbar-background
:nav-action (act/close-white #(do (rf/dispatch [:deny-transactions]) :nav-action (act/close-white #(rf/dispatch [:navigate-back]))
(rf/dispatch [:navigate-back])))
:border-style st/toolbar-border :border-style st/toolbar-border
:custom-content [rn/view {:style st/toolbar-title-container} :custom-content [rn/view {:style st/toolbar-title-container}
[rn/text {:style st/toolbar-title-text [rn/text {:style st/toolbar-title-text