Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
flexsurfer committed Aug 15, 2022
1 parent 97142ca commit c442cea
Showing 1 changed file with 14 additions and 11 deletions.
25 changes: 14 additions & 11 deletions src/status_im/ui/screens/chat/components/input.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -558,17 +558,20 @@
[gesture/gesture-detector {:gesture bottom-sheet-gesture}
[reanimated/view {:style (reanimated/apply-animations-to-style
{:transform [{:translateY translate-y}]}
{:border-top-left-radius 20 :border-top-right-radius 20
:position :absolute :left 0 :right 0 :bottom (- window-height)
:height window-height
:flex 1
:background-color :white
:shadow-radius 16
:shadow-opacity 1
:shadow-color "rgba(9, 16, 28, 0.04)"
:shadow-offset {:width 0 :height -2}
:elevation 2
:z-index 1000})}
(merge
{:border-top-left-radius 20 :border-top-right-radius 20
:position :absolute :left 0 :right 0 :bottom (- window-height)
:height window-height
:flex 1
:background-color :white
:z-index 1000}
(if platform/ios?
{:shadow-radius 16
:shadow-opacity 1
:shadow-color "rgba(9, 16, 28, 0.04)"
:shadow-offset {:width 0 :height -2}}
{:elevation 2})))}

[rn/view
{:width 32
:height 4
Expand Down

0 comments on commit c442cea

Please sign in to comment.