fix bottom message in the chat history is hidden behind the composer with an image in it (#17757)
This commit is contained in:
parent
55b233c528
commit
cebec10aa5
|
@ -130,13 +130,15 @@
|
||||||
|
|
||||||
(defn list-header
|
(defn list-header
|
||||||
[insets able-to-send-message? theme]
|
[insets able-to-send-message? theme]
|
||||||
[rn/view
|
(let [images (rf/sub [:chats/sending-image])]
|
||||||
{:background-color (colors/theme-colors colors/white colors/neutral-95 theme)
|
[rn/view
|
||||||
:height (+ (if able-to-send-message?
|
{:background-color (colors/theme-colors colors/white colors/neutral-95 theme)
|
||||||
(+ composer.constants/composer-default-height
|
:height (if able-to-send-message?
|
||||||
jump-to.constants/floating-shell-button-height
|
(+ composer.constants/composer-default-height
|
||||||
(:bottom insets))
|
jump-to.constants/floating-shell-button-height
|
||||||
(- 70 (:bottom insets))))}])
|
(if (seq images) composer.constants/images-container-height 0)
|
||||||
|
(:bottom insets))
|
||||||
|
(- 70 (:bottom insets)))}]))
|
||||||
|
|
||||||
(defn f-list-footer-avatar
|
(defn f-list-footer-avatar
|
||||||
[{:keys [scroll-y display-name online? profile-picture]}]
|
[{:keys [scroll-y display-name online? profile-picture]}]
|
||||||
|
|
Loading…
Reference in New Issue