[#7859] Allow to select chat item below plus button
This commit is contained in:
parent
8dc7c8986e
commit
3b90be2477
|
@ -179,12 +179,11 @@
|
|||
{:position :absolute
|
||||
:align-items :center
|
||||
:bottom (+ tabs.styles/tabs-diff 6)
|
||||
:right 0
|
||||
:left 0})
|
||||
:width 40
|
||||
:height 40})
|
||||
|
||||
(def action-button
|
||||
{:margin 10
|
||||
:width 40
|
||||
{:width 40
|
||||
:height 40
|
||||
:background-color colors/blue
|
||||
:border-radius 20
|
||||
|
|
|
@ -118,11 +118,14 @@
|
|||
(when loading? (utils/set-timeout #(re-frame/dispatch [:init-rest-of-chats]) 100))))}
|
||||
[react/view {:flex 1}
|
||||
[status-bar/status-bar {:type :main}]
|
||||
[react/keyboard-avoiding-view {:style {:flex 1}
|
||||
[react/keyboard-avoiding-view {:style {:flex 1
|
||||
:align-items :center}
|
||||
:on-layout (fn [e]
|
||||
(re-frame/dispatch
|
||||
[:set-once :content-layout-height
|
||||
(-> e .-nativeEvent .-layout .-height)]))}
|
||||
[react/view {:style {:flex 1
|
||||
:align-self :stretch}}
|
||||
[toolbar/toolbar nil nil [toolbar/content-title (i18n/label :t/chat)]]
|
||||
[les-debug-info]
|
||||
(cond loading?
|
||||
|
@ -140,7 +143,7 @@
|
|||
(if (and (not search-filter)
|
||||
(empty? all-home-items))
|
||||
[home-empty-view]
|
||||
[home-items-view search-filter chats all-home-items])])
|
||||
[home-items-view search-filter chats all-home-items])])]
|
||||
[home-action-button]]]))
|
||||
|
||||
(views/defview home-wrapper []
|
||||
|
|
Loading…
Reference in New Issue