fix wallet send flow wrong status bar color on select assets screen (#20662)

This commit is contained in:
Parvesh Monu 2024-07-05 20:57:20 +05:30 committed by GitHub
parent 460aaedbca
commit 1f333cc937
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -104,14 +104,14 @@
;;;; Navigate to within stack ;;;; Navigate to within stack
(defn- navigate-to-within-stack (defn- navigate-to-within-stack
[[component comp-id]] [[component comp-id theme]]
(let [{:keys [options]} (get views/screens component)] (let [{:keys [options]} (get views/screens component)]
(navigation/push (navigation/push
(name comp-id) (name comp-id)
{:component {:id component {:component {:id component
:name component :name component
:options (merge :options (merge
(options/root-options {:theme (:theme options)}) (options/root-options {:theme theme})
options)}}) options)}})
(state/navigation-state-push {:id component (state/navigation-state-push {:id component
:type :stack :type :stack

View File

@ -29,7 +29,7 @@
{:events [:navigate-to-within-stack]} {:events [:navigate-to-within-stack]}
[{:keys [db]} comp-id screen-params] [{:keys [db]} comp-id screen-params]
{:db (all-screens-params db (first 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 (re-frame/reg-event-fx :open-modal
(fn [{:keys [db]} [component screen-params]] (fn [{:keys [db]} [component screen-params]]