From 539b7bbff42755e4535c679834bac561f6aa86d5 Mon Sep 17 00:00:00 2001 From: Ajay Sivan Date: Fri, 24 May 2024 18:18:43 +0530 Subject: [PATCH] fix: white panel when the bottom sheet is launched --- src/status_im/navigation/effects.cljs | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/src/status_im/navigation/effects.cljs b/src/status_im/navigation/effects.cljs index d427504c34..3e48afe841 100644 --- a/src/status_im/navigation/effects.cljs +++ b/src/status_im/navigation/effects.cljs @@ -199,15 +199,16 @@ ([component] (show-overlay component {})) ([component opts] (navigation/dissmiss-overlay component) - (navigation/show-overlay - {:component {:name component - :id component - :options (merge (options/statusbar-and-navbar-options (:theme opts) nil nil) - {:layout {:componentBackgroundColor :transparent - :orientation ["portrait"]} - :overlay {:interceptTouchOutside true - :handleKeyboardEvents true}} - opts)}}))) + (let [theme (rf/sub [:theme])] + (navigation/show-overlay + {:component {:name component + :id component + :options (merge (options/statusbar-and-navbar-options theme nil nil) + {:layout {:componentBackgroundColor :transparent + :orientation ["portrait"]} + :overlay {:interceptTouchOutside true + :handleKeyboardEvents true}} + opts)}})))) (rf/reg-fx :show-toasts (fn [[view-id theme]]