fix cofx position

Signed-off-by: yenda <eric@status.im>
This commit is contained in:
yenda 2018-09-26 13:22:09 +02:00
parent 32ca986ab2
commit 3b7d18594c
No known key found for this signature in database
GPG Key ID: 0095623C0069DCE6
3 changed files with 3 additions and 3 deletions

View File

@ -78,7 +78,7 @@
(handlers/register-handler-fx (handlers/register-handler-fx
:start-chat :start-chat
(fn [cofx [_ contact-id opts]] (fn [cofx [_ contact-id opts]]
(models/start-chat contact-id opts cofx))) (models/start-chat cofx contact-id opts)))
(defn remove-chat-and-navigate-home [cofx [_ chat-id]] (defn remove-chat-and-navigate-home [cofx [_ chat-id]]
(fx/merge cofx (fx/merge cofx

View File

@ -134,7 +134,7 @@
:navigation-replace :navigation-replace
navigation-interceptors navigation-interceptors
(fn [cofx [_ view-id]] (fn [cofx [_ view-id]]
(replace-view view-id cofx))) (replace-view cofx view-id)))
(fx/defn navigate-back (fx/defn navigate-back
[{{:keys [navigation-stack view-id] :as db} :db}] [{{:keys [navigation-stack view-id] :as db} :db}]

View File

@ -7,4 +7,4 @@
:handle-universal-link :handle-universal-link
(fn [cofx [_ url]] (fn [cofx [_ url]]
(log/debug "universal links: event received for " url) (log/debug "universal links: event received for " url)
(universal-links/handle-url url cofx))) (universal-links/handle-url cofx url)))