From 472a013cd0de8ccdef98745353338c7637c4a639 Mon Sep 17 00:00:00 2001 From: Parvesh Monu Date: Mon, 19 Jun 2023 16:41:40 +0530 Subject: [PATCH] fix switcher cards position in ios (#16301) --- .../shell/components/shell_screen/view.cljs | 23 ++++++++++--------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/src/status_im2/contexts/shell/components/shell_screen/view.cljs b/src/status_im2/contexts/shell/components/shell_screen/view.cljs index 41564fbc71..f8d1081350 100644 --- a/src/status_im2/contexts/shell/components/shell_screen/view.cljs +++ b/src/status_im2/contexts/shell/components/shell_screen/view.cljs @@ -70,17 +70,18 @@ (let [data (if (seq switcher-cards) switcher-cards empty-cards)] [:<> [rn/flat-list - {:data data - :render-fn render-card - :key-fn :id - :header (jump-to-text) - :ref #(reset! state/jump-to-list-ref %) - :num-columns 2 - :column-wrapper-style {:margin-horizontal shell-margin - :justify-content :space-between - :margin-bottom 16} - :style style/jump-to-list - :content-container-style {:padding-bottom (utils/bottom-tabs-container-height)}}] + {:data data + :render-fn render-card + :key-fn :id + :header (jump-to-text) + :ref #(reset! state/jump-to-list-ref %) + :num-columns 2 + :column-wrapper-style {:margin-horizontal shell-margin + :justify-content :space-between + :margin-bottom 16} + :style style/jump-to-list + :content-inset-adjustment-behavior :never + :content-container-style {:padding-bottom (utils/bottom-tabs-container-height)}}] (when-not (seq switcher-cards) [placeholder])]))