From 1f333cc93764f6f0cfa56c41b7c27abf6373d160 Mon Sep 17 00:00:00 2001 From: Parvesh Monu Date: Fri, 5 Jul 2024 20:57:20 +0530 Subject: [PATCH] fix wallet send flow wrong status bar color on select assets screen (#20662) --- src/status_im/navigation/effects.cljs | 4 ++-- src/status_im/navigation/events.cljs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/status_im/navigation/effects.cljs b/src/status_im/navigation/effects.cljs index e28550cc71..181884cbad 100644 --- a/src/status_im/navigation/effects.cljs +++ b/src/status_im/navigation/effects.cljs @@ -104,14 +104,14 @@ ;;;; Navigate to within stack (defn- navigate-to-within-stack - [[component comp-id]] + [[component comp-id theme]] (let [{:keys [options]} (get views/screens component)] (navigation/push (name comp-id) {:component {:id component :name component :options (merge - (options/root-options {:theme (:theme options)}) + (options/root-options {:theme theme}) options)}}) (state/navigation-state-push {:id component :type :stack diff --git a/src/status_im/navigation/events.cljs b/src/status_im/navigation/events.cljs index cf4ac22a7a..aae7cfd20d 100644 --- a/src/status_im/navigation/events.cljs +++ b/src/status_im/navigation/events.cljs @@ -29,7 +29,7 @@ {:events [:navigate-to-within-stack]} [{:keys [db]} comp-id screen-params] {:db (all-screens-params db (first comp-id) screen-params) - :fx [[:navigate-to-within-stack comp-id]]}) + :fx [[:navigate-to-within-stack (conj comp-id (:theme db))]]}) (re-frame/reg-event-fx :open-modal (fn [{:keys [db]} [component screen-params]]