From 76f9703afec989774a6430116dda4788ae94cffe Mon Sep 17 00:00:00 2001 From: Andrey Shovkoplyas Date: Tue, 4 Feb 2020 14:00:33 +0100 Subject: [PATCH] update prices for v1 Signed-off-by: Andrey Shovkoplyas --- src/status_im/ui/screens/wallet/navigation.cljs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/status_im/ui/screens/wallet/navigation.cljs b/src/status_im/ui/screens/wallet/navigation.cljs index e6ba52e019..00bc602613 100644 --- a/src/status_im/ui/screens/wallet/navigation.cljs +++ b/src/status_im/ui/screens/wallet/navigation.cljs @@ -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]}