Page MenuHomePhabricator

D8353.id28572.diff
No OneTemporary

D8353.id28572.diff

diff --git a/native/redux/persist.js b/native/redux/persist.js
--- a/native/redux/persist.js
+++ b/native/redux/persist.js
@@ -4,7 +4,7 @@
import invariant from 'invariant';
import { Platform } from 'react-native';
import Orientation from 'react-native-orientation-locker';
-import { createMigrate, createTransform } from 'redux-persist';
+import { createTransform } from 'redux-persist';
import type { Transform } from 'redux-persist/es/types.js';
import {
@@ -14,6 +14,7 @@
convertReportsToReplaceReportOps,
} from 'lib/ops/report-store-ops.js';
import { highestLocalIDSelector } from 'lib/selectors/local-id-selectors.js';
+import { createAsyncMigrate } from 'lib/shared/create-async-migrate.js';
import { inconsistencyResponsesToReports } from 'lib/shared/report-utils.js';
import {
getContainingThreadID,
@@ -672,7 +673,7 @@
debug: __DEV__,
version: 42,
transforms: [messageStoreMessagesBlocklistTransform, reportStoreTransform],
- migrate: (createMigrate(migrations, { debug: __DEV__ }): any),
+ migrate: (createAsyncMigrate(migrations, { debug: __DEV__ }): any),
timeout: ((__DEV__ ? 0 : undefined): number | void),
};

File Metadata

Mime Type
text/plain
Expires
Sat, Dec 21, 1:34 AM (5 h, 25 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2684496
Default Alt Text
D8353.id28572.diff (1 KB)

Event Timeline