fix: white panel when the bottom sheet is launched

This commit is contained in:
Ajay Sivan 2024-05-24 18:18:43 +05:30 committed by jo-mut
parent 777b2bb8da
commit 539b7bbff4
No known key found for this signature in database
GPG Key ID: 76AE8CD103294A70
1 changed files with 10 additions and 9 deletions

View File

@ -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]]