fix for https://github.com/status-im/status-react/pull/773 and https://github.com/status-im/status-react/issues/694
fix for https://github.com/status-im/status-react/issues/635
This commit is contained in:
parent
8110576228
commit
dc01b9e3b7
|
@ -39,6 +39,7 @@
|
|||
:bottom-gradient {:height 3}
|
||||
:input-label {:left 4}
|
||||
:input-error-text {:margin-left 4}
|
||||
:main-tab-list {:margin-bottom 20}
|
||||
:toolbar-nav-action {:width 56
|
||||
:height 56
|
||||
:align-items :center
|
||||
|
|
|
@ -115,8 +115,9 @@
|
|||
{:flex 1})
|
||||
|
||||
(def list-container
|
||||
{:background-color color-light-gray
|
||||
:margin-bottom (when p/ios? 72)})
|
||||
(merge (get-in p/platform-specific [:component-styles :main-tab-list])
|
||||
{:background-color color-light-gray}))
|
||||
|
||||
|
||||
(def create-icon
|
||||
{:fontSize 20
|
||||
|
|
|
@ -20,8 +20,8 @@
|
|||
:background-color toolbar-background2})
|
||||
|
||||
(def contacts-list-container
|
||||
{:flex 1
|
||||
:margin-bottom (when p/ios? 72)})
|
||||
(merge (get-in p/platform-specific [:component-styles :main-tab-list])
|
||||
{:flex 1}))
|
||||
|
||||
(def empty-contact-groups
|
||||
(merge contact-groups
|
||||
|
|
|
@ -81,7 +81,7 @@
|
|||
[toolbar-view (and current-view?
|
||||
(= show-search :discover))]
|
||||
(if discoveries
|
||||
[scroll-view st/scroll-view-container
|
||||
[scroll-view {:style (get-in platform-specific [:component-styles :main-tab-list])}
|
||||
[discover-popular {:contacts contacts
|
||||
:current-account current-account}]
|
||||
[discover-recent {:current-account current-account}]]
|
||||
|
|
|
@ -26,9 +26,6 @@
|
|||
(def section-spacing
|
||||
{:padding 16})
|
||||
|
||||
(def scroll-view-container
|
||||
{:bounces false})
|
||||
|
||||
;; Popular
|
||||
|
||||
(def popular-container
|
||||
|
|
|
@ -47,6 +47,7 @@
|
|||
:bottom-gradient {:height 1}
|
||||
:input-label {:left 0}
|
||||
:input-error-text {:margin-left 0}
|
||||
:main-tab-list {:margin-bottom 72}
|
||||
:toolbar-nav-action {:width 46
|
||||
:height 56
|
||||
:align-items :center
|
||||
|
|
Loading…
Reference in New Issue