From 926743135863a606475a5883c4b71dfd5fc782a4 Mon Sep 17 00:00:00 2001 From: andrey Date: Tue, 25 Apr 2023 14:02:50 +0200 Subject: [PATCH] rebase --- src/status_im2/common/bottom_sheet_screen/view.cljs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/status_im2/common/bottom_sheet_screen/view.cljs b/src/status_im2/common/bottom_sheet_screen/view.cljs index d967d1cd0181..fe16a15a468b 100644 --- a/src/status_im2/common/bottom_sheet_screen/view.cljs +++ b/src/status_im2/common/bottom_sheet_screen/view.cljs @@ -50,9 +50,8 @@ (let [scroll-enabled (reagent/atom true) curr-scroll (atom 0)] (fn [] - (let [sb-height (navigation/status-bar-height) - insets (safe-area/use-safe-area) - padding-top (Math/max sb-height (:top insets)) + (let [insets (safe-area/get-insets) + padding-top (:top insets) padding-top (if platform/ios? padding-top (+ padding-top 10)) opacity (reanimated/use-shared-value 0) translate-y (reanimated/use-shared-value 0)