parent
32ca986ab2
commit
3b7d18594c
|
@ -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
|
||||||
|
|
|
@ -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}]
|
||||||
|
|
|
@ -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)))
|
||||||
|
|
Loading…
Reference in New Issue