From 6f10ff4d3e03798f16181e852f37dcb13a1bd32f Mon Sep 17 00:00:00 2001 From: Alexander Date: Mon, 9 Jan 2023 18:37:54 +0100 Subject: [PATCH] Switcher button in chat is back (#14717) --- src/status_im2/contexts/chat/messages/list/view.cljs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/status_im2/contexts/chat/messages/list/view.cljs b/src/status_im2/contexts/chat/messages/list/view.cljs index 18c0d92c38..478e7fd822 100644 --- a/src/status_im2/contexts/chat/messages/list/view.cljs +++ b/src/status_im2/contexts/chat/messages/list/view.cljs @@ -142,7 +142,8 @@ one-to-one? (not contact-added?)) bottom-space 15] - [:<> + [rn/view + {:style {:flex 1}} ;;DO NOT use anonymous functions for handlers [rn/flat-list (merge @@ -164,7 +165,7 @@ :on-viewable-items-changed on-viewable-items-changed :on-end-reached list-on-end-reached :on-scroll-to-index-failed identity ;;don't remove this - :content-container-style {:padding-top (+ bottom-space 16) + :content-container-style {:padding-top (+ bottom-space 32) :padding-bottom 16} :scroll-indicator-insets {:top bottom-space} ;;ios only :keyboard-dismiss-mode :interactive @@ -186,4 +187,4 @@ (when @show-floating-scroll-down-button {:scroll-to-bottom {:on-press scroll-to-bottom}})) {:position :absolute - :bottom 12}]])) + :bottom 6}]]))