mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-23 13:29:02 +08:00
fix(android): fix user db engine (#11684)
This commit is contained in:
@@ -17,11 +17,11 @@ export class UserDBEngine extends Entity<{
|
||||
readonly client: StoreClient;
|
||||
|
||||
DocStorageType =
|
||||
BUILD_CONFIG.isElectron || BUILD_CONFIG.isIOS
|
||||
BUILD_CONFIG.isElectron || BUILD_CONFIG.isIOS || BUILD_CONFIG.isAndroid
|
||||
? SqliteDocStorage
|
||||
: IndexedDBDocStorage;
|
||||
DocSyncStorageType =
|
||||
BUILD_CONFIG.isElectron || BUILD_CONFIG.isIOS
|
||||
BUILD_CONFIG.isElectron || BUILD_CONFIG.isIOS || BUILD_CONFIG.isAndroid
|
||||
? SqliteDocSyncStorage
|
||||
: IndexedDBDocSyncStorage;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user