Merge pull request #256 from status-im/bug/#242

Wallet: create wallet chat after account recovery
Former-commit-id: 878b3df32d
This commit is contained in:
Roman Volosovskyi 2016-09-22 17:58:09 +03:00 committed by GitHub
commit 62a65b5394
3 changed files with 2 additions and 2 deletions

View File

@ -46,7 +46,6 @@
(dispatch-sync [:login-account address password]))))) (dispatch-sync [:login-account address password])))))
(register-handler :create-account (register-handler :create-account
(after #(dispatch [:init-wallet-chat]))
(u/side-effect! (u/side-effect!
(fn [_ [_ password]] (fn [_ [_ password]]
(status/create-account (status/create-account

View File

@ -213,6 +213,7 @@
db))) db)))
(register-handler :sign-up-confirm (register-handler :sign-up-confirm
(after #(dispatch [:init-wallet-chat]))
(u/side-effect! (u/side-effect!
(fn [_ [_ confirmation-code]] (fn [_ [_ confirmation-code]]
(server/sign-up-confirm confirmation-code sign-up-service/on-send-code-response)))) (server/sign-up-confirm confirmation-code sign-up-service/on-send-code-response))))

View File

@ -52,7 +52,7 @@
response? (+ minimum-suggestion-height) response? (+ minimum-suggestion-height)
command? (+ input-height) command? (+ input-height)
(and suggestion? command?) (+ suggestions-header-height) (and suggestion? command?) (+ suggestions-header-height)
custom-errors? (+ suggestions-header-height) ;custom-errors? (+ suggestions-header-height)
(and command? validation-errors?) (+ suggestions-header-height)))) (and command? validation-errors?) (+ suggestions-header-height))))
(register-handler :animate-show-response (register-handler :animate-show-response