Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F33158563
D14585.1768516246.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D14585.1768516246.diff
View Options
diff --git a/native/redux/persist-constants.js b/native/redux/persist-constants.js
--- a/native/redux/persist-constants.js
+++ b/native/redux/persist-constants.js
@@ -5,6 +5,6 @@
// NOTE: renaming this constant requires updating
// `native/native_rust_library/build.rs` to correctly
// scrap Redux state version from this file.
-const storeVersion = 90;
+const storeVersion = 91;
export { rootKey, storeVersion };
diff --git a/native/redux/persist.js b/native/redux/persist.js
--- a/native/redux/persist.js
+++ b/native/redux/persist.js
@@ -1589,6 +1589,19 @@
[messageTypes.DELETE_MESSAGE],
handleReduxMigrationFailure,
): MigrationFunction<NavInfo, AppState>),
+ [91]: (async (state: AppState) => ({
+ state: {
+ ...state,
+ alertStore: {
+ ...state.alertStore,
+ alertInfos: {
+ ...defaultAlertInfos,
+ ...state.alertStore.alertInfos,
+ },
+ },
+ },
+ ops: {},
+ }): MigrationFunction<NavInfo, AppState>),
});
const persistConfig = {
diff --git a/web/redux/persist-constants.js b/web/redux/persist-constants.js
--- a/web/redux/persist-constants.js
+++ b/web/redux/persist-constants.js
@@ -3,6 +3,6 @@
const rootKey = 'root';
const rootKeyPrefix = 'persist:';
const completeRootKey = `${rootKeyPrefix}${rootKey}`;
-const storeVersion = 90;
+const storeVersion = 91;
export { rootKey, rootKeyPrefix, completeRootKey, storeVersion };
diff --git a/web/redux/persist.js b/web/redux/persist.js
--- a/web/redux/persist.js
+++ b/web/redux/persist.js
@@ -824,6 +824,19 @@
WebNavInfo,
AppState,
>),
+ [91]: (async (state: AppState) => ({
+ state: {
+ ...state,
+ alertStore: {
+ ...state.alertStore,
+ alertInfos: {
+ ...defaultAlertInfos,
+ ...state.alertStore.alertInfos,
+ },
+ },
+ },
+ ops: {},
+ }): MigrationFunction<WebNavInfo, AppState>),
};
const persistConfig: PersistConfig = {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jan 15, 10:30 PM (14 h, 24 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5940400
Default Alt Text
D14585.1768516246.diff (1 KB)
Attached To
Mode
D14585: [native][web] Fix coldStartCount crash
Attached
Detach File
Event Timeline
Log In to Comment