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
(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

View File

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