some missed styles

This commit is contained in:
Roman Volosovskyi 2016-05-13 16:58:14 +03:00
parent 83e4c584cb
commit c62feb0159
2 changed files with 21 additions and 12 deletions

View File

@ -33,19 +33,16 @@
[] []
(let [show-search (subscribe [:get ::show-search])] (let [show-search (subscribe [:get ::show-search])]
(fn [] (fn []
[view {:flex 1 [view st/discovery-container
:backgroundColor :#eef2f5}
[toolbar [toolbar
{:style st/discovery-toolbar {:style st/discovery-toolbar
:nav-action {:image {:source {:uri :icon_hamburger} :nav-action {:image {:source {:uri :icon_hamburger}
:style {:width 16 :style st/hamburger-icon}
:height 12}}
:handler #(dispatch [:create-fake-discovery!])} :handler #(dispatch [:create-fake-discovery!])}
:title "Add Participants" :title "Add Participants"
:content [title-content @show-search] :content [title-content @show-search]
:action {:image {:source {:uri :icon_search} :action {:image {:source {:uri :icon_search}
:style {:width 17 :style st/search-icon}
:height 17}}
:handler #(toogle-search @show-search)}}] :handler #(toogle-search @show-search)}}]
[scroll-view {:style {}} [scroll-view {:style {}}
[view st/section-spacing [view st/section-spacing

View File

@ -173,3 +173,15 @@
(def icon-search (def icon-search
{:width 17 {:width 17
:height 17}) :height 17})
(def discovery-container
{:flex 1
:backgroundColor :#eef2f5})
(def hamburger-icon
{:width 16
:height 12})
(def search-icon
{:width 17
:height 17})