Fix :show-desktop-tab usage
This commit is contained in:
parent
a08a98c491
commit
9136dd0d3f
|
@ -51,9 +51,7 @@
|
|||
(views/letsubs [cnt [count-subscription]]
|
||||
[react/touchable-highlight {:style (merge tabs.styles/tab-container {:flex 1})
|
||||
:disabled active?
|
||||
:on-press #(do
|
||||
(re-frame/dispatch [:navigate-to :home])
|
||||
(re-frame/dispatch [:show-desktop-tab view-id]))}
|
||||
:on-press #(re-frame/dispatch [:show-desktop-tab view-id])}
|
||||
[react/view
|
||||
[content active? (if (= view-id :home) cnt nil)]]]))
|
||||
|
||||
|
|
Loading…
Reference in New Issue