From 212fb46ce64a0e633af6b061c11a2ca45e798502 Mon Sep 17 00:00:00 2001 From: Andrey Shovkoplyas Date: Wed, 18 Apr 2018 19:40:22 +0300 Subject: [PATCH] added mixpanel events for Signed-off-by: Andrey Shovkoplyas --- src/status_im/data_store/realm/core.cljs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/status_im/data_store/realm/core.cljs b/src/status_im/data_store/realm/core.cljs index f00ecba989..2beca6c1f0 100644 --- a/src/status_im/data_store/realm/core.cljs +++ b/src/status_im/data_store/realm/core.cljs @@ -9,7 +9,8 @@ [goog.string :as gstr] [cognitect.transit :as transit] [clojure.walk :as walk] - [status-im.react-native.js-dependencies :as rn-dependencies]) + [status-im.react-native.js-dependencies :as rn-dependencies] + [status-im.utils.utils :as utils]) (:refer-clojure :exclude [exists?])) (defn realm-version @@ -39,6 +40,7 @@ (open-realm (last schemas) file-name)) (defn reset-realm [file-name schemas] + (utils/show-popup "Please note" "You must recover or create a new account with this upgrade. Also chatting with accounts in previous releases is incompatible") (delete-realm file-name) (open-realm (last schemas) file-name))