-
Notifications
You must be signed in to change notification settings - Fork 987
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
No browsing history kept on iOS [#5078]
- Loading branch information
1 parent
6a17f93
commit 7a2a093
Showing
19 changed files
with
206 additions
and
306 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
src/status_im/data_store/realm/schemas/account/v8/core.cljs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
(ns status-im.data-store.realm.schemas.account.v8.core | ||
(:require [status-im.data-store.realm.schemas.account.v5.chat :as chat] | ||
[status-im.data-store.realm.schemas.account.v6.transport :as transport] | ||
[status-im.data-store.realm.schemas.account.v1.contact :as contact] | ||
[status-im.data-store.realm.schemas.account.v7.message :as message] | ||
[status-im.data-store.realm.schemas.account.v1.request :as request] | ||
[status-im.data-store.realm.schemas.account.v1.user-status :as user-status] | ||
[status-im.data-store.realm.schemas.account.v1.local-storage :as local-storage] | ||
[status-im.data-store.realm.schemas.account.v2.mailserver :as mailserver] | ||
[status-im.data-store.realm.schemas.account.v8.browser :as browser] | ||
[taoensso.timbre :as log])) | ||
|
||
(def schema [chat/schema | ||
transport/schema | ||
contact/schema | ||
message/schema | ||
request/schema | ||
mailserver/schema | ||
user-status/schema | ||
local-storage/schema | ||
browser/schema]) | ||
|
||
(defn migration [old-realm new-realm] | ||
(log/debug "migrating v8 account database: " old-realm new-realm) | ||
(message/migration old-realm new-realm)) |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,6 @@ | ||
(ns status-im.ui.screens.browser.navigation | ||
(:require [status-im.ui.screens.navigation :as navigation] | ||
[status-im.models.browser-history :as browser-history])) | ||
(:require [status-im.ui.screens.navigation :as navigation])) | ||
|
||
(defmethod navigation/preload-data! :browser | ||
[db [_ _ {:keys [browser/browser-id]}]] | ||
(let [dont-store (browser-history/dont-store-history-on-nav-change-if-history-exists db browser-id)] | ||
(assoc db :browser/options (assoc dont-store :browser-id browser-id)))) | ||
[db [_ _ browser-id]] | ||
(assoc db :browser/options {:browser-id browser-id})) |
Oops, something went wrong.