fixed wallet screens

This commit is contained in:
Andrey Shovkoplyas 2017-08-14 14:13:28 +03:00 committed by Roman Volosovskyi
parent 883b702fcb
commit e158ba5d4f
1 changed files with 5 additions and 1 deletions

View File

@ -40,7 +40,9 @@
[status-im.profile.screen :refer [profile my-profile]] [status-im.profile.screen :refer [profile my-profile]]
[status-im.profile.edit.screen :refer [edit-my-profile]] [status-im.profile.edit.screen :refer [edit-my-profile]]
[status-im.profile.photo-capture.screen :refer [profile-photo-capture]] [status-im.profile.photo-capture.screen :refer [profile-photo-capture]]
[status-im.profile.qr-code.screen :refer [qr-code-view]])) [status-im.profile.qr-code.screen :refer [qr-code-view]]
[status-im.ui.screens.wallet.send.views :refer [send-transaction]]))
- ;;[status-im.ui.screens.wallet.receive.views :refer [receive-transaction]]
(defn validate-current-view (defn validate-current-view
[current-view signed-up?] [current-view signed-up?]
@ -57,6 +59,8 @@
(let [current-view (validate-current-view view-id signed-up?)] (let [current-view (validate-current-view view-id signed-up?)]
(let [component (case current-view (let [component (case current-view
:wallet main-tabs :wallet main-tabs
:wallet-send-transaction send-transaction
;;:wallet-receive-transaction receive-transaction
:discover main-tabs :discover main-tabs
:discover-search-results discover-search-results :discover-search-results discover-search-results
:chat-list main-tabs :chat-list main-tabs