diff --git a/src/status_im/chat/styles/screen.cljs b/src/status_im/chat/styles/screen.cljs index 49133f8d32..e7ae9e22d9 100644 --- a/src/status_im/chat/styles/screen.cljs +++ b/src/status_im/chat/styles/screen.cljs @@ -16,7 +16,7 @@ (defn messages-container [bottom] {:flex 1 - :bottom bottom}) + :padding-bottom bottom}) (def toolbar-view {:flexDirection :row diff --git a/src/status_im/chat/views/response.cljs b/src/status_im/chat/views/response.cljs index 57122f11b8..f1378f607f 100644 --- a/src/status_im/chat/views/response.cljs +++ b/src/status_im/chat/views/response.cljs @@ -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]]