Skip to content

Commit

Permalink
rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
flexsurfer committed Apr 25, 2023
1 parent 1f5d8ac commit 9267431
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/status_im2/common/bottom_sheet_screen/view.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 9267431

Please sign in to comment.