fix discovery tag title

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

View File

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