Skip to content

Commit

Permalink
update prices for v1
Browse files Browse the repository at this point in the history
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
  • Loading branch information
flexsurfer committed Feb 4, 2020
1 parent 6ad84f4 commit 76f9703
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/status_im/ui/screens/wallet/navigation.cljs
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
(ns status-im.ui.screens.wallet.navigation
(:require [status-im.ui.screens.navigation :as navigation]
[status-im.ui.screens.wallet.signing-phrase.views :as signing-phrase]))
[status-im.ui.screens.wallet.signing-phrase.views :as signing-phrase]
[re-frame.core :as re-frame]))

(defmethod navigation/preload-data! :wallet-stack
[db [event]]
(let [wallet-set-up-passed? (get-in db [:multiaccount :wallet-set-up-passed?])
sign-phrase-showed? (get db :wallet/sign-phrase-showed?)]
;;TODO temporary simple fix for v1
(re-frame/dispatch [:wallet.ui/pull-to-refresh])
(if (or (= event :navigate-back) wallet-set-up-passed? sign-phrase-showed?)
db
(assoc db :popover/popover {:view [signing-phrase/signing-phrase]}
Expand Down

0 comments on commit 76f9703

Please sign in to comment.