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