fix wallet send flow wrong status bar color on select assets screen (#20662)
This commit is contained in:
parent
460aaedbca
commit
1f333cc937
|
@ -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
|
||||||
|
|
|
@ -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]]
|
||||||
|
|
Loading…
Reference in New Issue