From cb9b461789ee68ca377d8fa91b6dba63f7dcbc0b Mon Sep 17 00:00:00 2001 From: Audrius Molis Date: Fri, 1 Apr 2022 13:18:44 +0100 Subject: [PATCH] Add settings synchronization https://github.com/status-im/status-go/compare/331cf1e40188553b508e81193d42e0eee6d6a8c8...41d41c4b132ce85cb4cad12cc8596ddc58c0de5b --- src/status_im/multiaccounts/update/core.cljs | 5 ++++- status-go-version.json | 6 +++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/status_im/multiaccounts/update/core.cljs b/src/status_im/multiaccounts/update/core.cljs index 8d9f3373ede..27ee2e0f064 100644 --- a/src/status_im/multiaccounts/update/core.cljs +++ b/src/status_im/multiaccounts/update/core.cljs @@ -42,7 +42,10 @@ (fx/defn optimistic [{:keys [db] :as cofx} setting setting-value] - (let [current-multiaccount (:multiaccount db)] + (let [current-multiaccount (:multiaccount db) + setting-value (if (= :currency setting) + (keyword setting-value) + setting-value)] {:db (if setting-value (assoc-in db [:multiaccount setting] setting-value) (update db :multiaccount dissoc setting))})) diff --git a/status-go-version.json b/status-go-version.json index b5a49ab62de..577ce7090d7 100644 --- a/status-go-version.json +++ b/status-go-version.json @@ -3,7 +3,7 @@ "_comment": "Instead use: scripts/update-status-go.sh ", "owner": "status-im", "repo": "status-go", - "version": "v0.98.1", - "commit-sha1": "3050106595104c16083a8a155d7b2167e7fda798", - "src-sha256": "0dab072wmajdnp3hiyycxg1wn14a7l142z3768vwc2mz13nnld2r" + "version": "41d41c4b132ce85cb4cad12cc8596ddc58c0de5b", + "commit-sha1": "41d41c4b132ce85cb4cad12cc8596ddc58c0de5b", + "src-sha256": "02impw4rkkb1f11hx320lmij8mjshqiybm0dfzzcxl3iq2ri24ci" }