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