mirror of
https://github.com/status-im/react-native.git
synced 2025-01-24 16:29:01 +00:00
correctly order ASyncStorage
Reviewed By: sahrens Differential Revision: D4585569 fbshipit-source-id: e0bebddea8a5810386e193eb6435f24ba3a5cbb0
This commit is contained in:
parent
72ddfb014a
commit
f6bd8a38ec
@ -16,8 +16,8 @@
|
||||
const NativeModules = require('NativeModules');
|
||||
|
||||
// Use RocksDB if available, then SQLite, then file storage.
|
||||
const RCTAsyncStorage = NativeModules.AsyncSQLiteDBStorage ||
|
||||
NativeModules.AsyncRocksDBStorage ||
|
||||
const RCTAsyncStorage = NativeModules.AsyncRocksDBStorage ||
|
||||
NativeModules.AsyncSQLiteDBStorage ||
|
||||
NativeModules.AsyncLocalStorage;
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user