Remove top nav search button and add bottom padding for home list (#14966)
This commit is contained in:
parent
c38cb03956
commit
c2cfb4539f
|
@ -40,7 +40,8 @@
|
|||
:on-end-reached #(re-frame/dispatch [:chat/show-more-chats])
|
||||
:keyboard-should-persist-taps :always
|
||||
:data items
|
||||
:render-fn chat-list-item/chat-list-item}])))
|
||||
:render-fn chat-list-item/chat-list-item
|
||||
:content-container-style {:padding-bottom 30}}])))
|
||||
|
||||
(defn welcome-blank-contacts
|
||||
[]
|
||||
|
@ -93,7 +94,7 @@
|
|||
(defn home
|
||||
[]
|
||||
[:<>
|
||||
[common.home/top-nav {:type :default}]
|
||||
[common.home/top-nav {:type :default :hide-search true}]
|
||||
[common.home/title-column
|
||||
{:label (i18n/label :t/messages)
|
||||
:handler #(rf/dispatch [:bottom-sheet/show-sheet :new-chat-bottom-sheet {}])
|
||||
|
|
|
@ -48,7 +48,8 @@
|
|||
:keyboard-should-persist-taps :always
|
||||
:shows-horizontal-scroll-indicator false
|
||||
:data community-ids
|
||||
:render-fn render-fn}])
|
||||
:render-fn render-fn
|
||||
:content-container-style {:padding-bottom 30}}])
|
||||
|
||||
(defn segments-community-lists
|
||||
[selected-tab]
|
||||
|
|
|
@ -110,6 +110,7 @@
|
|||
[top-nav-blur-overlay (:top insets)]
|
||||
[common.home/top-nav
|
||||
{:type :shell
|
||||
:hide-search true
|
||||
:style {:margin-top (:top insets)
|
||||
:z-index 2}}]])]))
|
||||
|
||||
|
|
Loading…
Reference in New Issue