fix: white panel when the bottom sheet is launched
This commit is contained in:
parent
777b2bb8da
commit
539b7bbff4
|
@ -199,15 +199,16 @@
|
||||||
([component] (show-overlay component {}))
|
([component] (show-overlay component {}))
|
||||||
([component opts]
|
([component opts]
|
||||||
(navigation/dissmiss-overlay component)
|
(navigation/dissmiss-overlay component)
|
||||||
(navigation/show-overlay
|
(let [theme (rf/sub [:theme])]
|
||||||
{:component {:name component
|
(navigation/show-overlay
|
||||||
:id component
|
{:component {:name component
|
||||||
:options (merge (options/statusbar-and-navbar-options (:theme opts) nil nil)
|
:id component
|
||||||
{:layout {:componentBackgroundColor :transparent
|
:options (merge (options/statusbar-and-navbar-options theme nil nil)
|
||||||
:orientation ["portrait"]}
|
{:layout {:componentBackgroundColor :transparent
|
||||||
:overlay {:interceptTouchOutside true
|
:orientation ["portrait"]}
|
||||||
:handleKeyboardEvents true}}
|
:overlay {:interceptTouchOutside true
|
||||||
opts)}})))
|
:handleKeyboardEvents true}}
|
||||||
|
opts)}}))))
|
||||||
|
|
||||||
(rf/reg-fx :show-toasts
|
(rf/reg-fx :show-toasts
|
||||||
(fn [[view-id theme]]
|
(fn [[view-id theme]]
|
||||||
|
|
Loading…
Reference in New Issue