mirror of
https://github.com/status-im/status-react.git
synced 2025-01-11 11:34:45 +00:00
fix discovery tag title
This commit is contained in:
parent
dfc772d0cd
commit
ea63b1df68
@ -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 [])}}]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user