mirror of
https://github.com/status-im/status-react.git
synced 2025-01-11 11:34:45 +00:00
fix switcher cards position in ios (#16301)
This commit is contained in:
parent
93cf54919f
commit
472a013cd0
@ -70,17 +70,18 @@
|
|||||||
(let [data (if (seq switcher-cards) switcher-cards empty-cards)]
|
(let [data (if (seq switcher-cards) switcher-cards empty-cards)]
|
||||||
[:<>
|
[:<>
|
||||||
[rn/flat-list
|
[rn/flat-list
|
||||||
{:data data
|
{:data data
|
||||||
:render-fn render-card
|
:render-fn render-card
|
||||||
:key-fn :id
|
:key-fn :id
|
||||||
:header (jump-to-text)
|
:header (jump-to-text)
|
||||||
:ref #(reset! state/jump-to-list-ref %)
|
:ref #(reset! state/jump-to-list-ref %)
|
||||||
:num-columns 2
|
:num-columns 2
|
||||||
:column-wrapper-style {:margin-horizontal shell-margin
|
:column-wrapper-style {:margin-horizontal shell-margin
|
||||||
:justify-content :space-between
|
:justify-content :space-between
|
||||||
:margin-bottom 16}
|
:margin-bottom 16}
|
||||||
:style style/jump-to-list
|
:style style/jump-to-list
|
||||||
:content-container-style {:padding-bottom (utils/bottom-tabs-container-height)}}]
|
:content-inset-adjustment-behavior :never
|
||||||
|
:content-container-style {:padding-bottom (utils/bottom-tabs-container-height)}}]
|
||||||
(when-not (seq switcher-cards)
|
(when-not (seq switcher-cards)
|
||||||
[placeholder])]))
|
[placeholder])]))
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user