From 341f4a222c4f41935bc56a289ff80f3c4297b489 Mon Sep 17 00:00:00 2001 From: Ulises M Date: Wed, 28 Jun 2023 18:44:48 -0600 Subject: [PATCH] Add gesture-handler-root-HOC to detect toast's gestures on Android --- src/status_im2/navigation/core.cljs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/status_im2/navigation/core.cljs b/src/status_im2/navigation/core.cljs index 755eae6ad9b..2d4e5c0b130 100644 --- a/src/status_im2/navigation/core.cljs +++ b/src/status_im2/navigation/core.cljs @@ -180,7 +180,10 @@ opts)}}))) ;; toast -(navigation/register-component "toasts" (fn [] views/toasts) js/undefined) +(navigation/register-component "toasts" + #(gesture/gesture-handler-root-hoc views/toasts + #js {:flex 0}) + (fn [] views/toasts)) (re-frame/reg-fx :show-toasts (fn []