mirror of
https://github.com/status-im/status-react.git
synced 2025-02-19 22:28:40 +00:00
Don't re-open bottom sheet if now closing
Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
This commit is contained in:
parent
fa4968f22c
commit
b7bc7c4e5d
@ -157,10 +157,10 @@
|
|||||||
(fn []
|
(fn []
|
||||||
(when (and (> height min-height)
|
(when (and (> height min-height)
|
||||||
@visible)
|
@visible)
|
||||||
(animated/block
|
(animated/cond* (animated/not* manual-close)
|
||||||
[(animated/stop-clock clock)
|
[(animated/stop-clock clock)
|
||||||
(animated/set open-snap-point (* -1 sheet-height))
|
(animated/set open-snap-point (* -1 sheet-height))
|
||||||
(animated/set manual-open 1)])))
|
(animated/set manual-open 1)])))
|
||||||
[height @visible])
|
[height @visible])
|
||||||
;; NOTE(Ferossgp): Remove me when RNGH will suport modal
|
;; NOTE(Ferossgp): Remove me when RNGH will suport modal
|
||||||
(rn/use-back-handler
|
(rn/use-back-handler
|
||||||
|
Loading…
x
Reference in New Issue
Block a user