Switcher button in chat is back (#14717)

This commit is contained in:
Alexander 2023-01-09 18:37:54 +01:00 committed by GitHub
parent e289ad8968
commit 6f10ff4d3e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 3 deletions

View File

@ -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}]]))