#177 fix messages container padding

This commit is contained in:
Roman Volosovskyi 2016-07-25 16:20:39 +03:00
parent 365b4e8ad7
commit f3c1710415
2 changed files with 6 additions and 5 deletions

View File

@ -16,7 +16,7 @@
(defn messages-container [bottom]
{:flex 1
:bottom bottom})
:padding-bottom bottom})
(def toolbar-view
{:flexDirection :row

View File

@ -96,10 +96,11 @@
(defview suggestions-web-view []
[url [:web-view-url]]
[web-view {:source {:uri url}
:java-script-enabled true
:style {:height 300}
:on-navigation-state-change on-navigation-change}])
(when url
[web-view {:source {:uri url}
:java-script-enabled true
:style {:height 300}
:on-navigation-state-change on-navigation-change}]))
(defview placeholder []
[suggestions [:get-content-suggestions]]