fix discovery tag title

Former-commit-id: ea63b1df68
This commit is contained in:
Adrian Tiberius 2016-05-17 17:09:19 +03:00
parent a03b1a0357
commit 8d8170d9ab
1 changed files with 3 additions and 2 deletions

View File

@ -17,7 +17,8 @@
(defn title-content [tag]
[view st/tag-title-container
[text {:style st/tag-title} (str " #" tag)]])
[view {:style st/tag-container}
[text {:style st/tag-title} (str " #" tag)]]])
(defn discovery-tag []
(let [tag (subscribe [:get :current-tag])
@ -31,7 +32,7 @@
:style st/icon-back}
:handler #(dispatch [:navigate-back])}
:title "Add Participants"
:content (title-content @tag)
:custom-content (title-content @tag)
:action {:image {:source {:uri :icon_search}
:style st/icon-search}
:handler (fn [])}}]