From 0d60fd87071d0a4f2db2cdba8314c46da7f798b8 Mon Sep 17 00:00:00 2001 From: Adrian Tiberius Date: Fri, 1 Jul 2016 00:11:48 +0300 Subject: [PATCH] add links to new screens Former-commit-id: c5f41344d4a7ce5f50da08adee76b5becff38850 --- src/status_im/android/core.cljs | 3 +++ src/status_im/components/drawer/view.cljs | 1 + 2 files changed, 4 insertions(+) diff --git a/src/status_im/android/core.cljs b/src/status_im/android/core.cljs index 5405f58393..63586efbb2 100644 --- a/src/status_im/android/core.cljs +++ b/src/status_im/android/core.cljs @@ -14,6 +14,7 @@ [status-im.discovery.screen :refer [discovery]] [status-im.discovery.tag :refer [discovery-tag]] [status-im.chat.screen :refer [chat]] + [status-im.users.screen :refer [users]] [status-im.chats-list.screen :refer [chats-list]] [status-im.new-group.screen :refer [new-group]] [status-im.participants.views.add :refer [new-participants]] @@ -76,6 +77,8 @@ :qr-scanner [qr-scanner] :chat [chat] :profile [profile] + :users [users] + :login [login] :my-profile [my-profile]))}))) (defn init [] diff --git a/src/status_im/components/drawer/view.cljs b/src/status_im/components/drawer/view.cljs index a98fb9d542..c040b8cb7c 100644 --- a/src/status_im/components/drawer/view.cljs +++ b/src/status_im/components/drawer/view.cljs @@ -65,6 +65,7 @@ [view st/switch-users-container [touchable-opacity {:onPress (fn [] (close-drawer) + (dispatch [:navigate-to :users]) ;; TODO not implemented )} [text {:style st/switch-users-text}