mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
chore: make beta timeline the default (#21751)
* chore: make beta timeline the default * fix: logic * awaiting * refactor
This commit is contained in:
parent
9a5a3c0a1d
commit
2c7b980eed
13 changed files with 468 additions and 413 deletions
|
|
@ -90,7 +90,7 @@ abstract final class Bootstrap {
|
|||
}
|
||||
|
||||
static Future<void> initDomain(Isar db, Drift drift, DriftLogger logDb, {bool shouldBufferLogs = true}) async {
|
||||
final isBeta = await IsarStoreRepository(db).tryGet(StoreKey.betaTimeline) ?? false;
|
||||
final isBeta = await IsarStoreRepository(db).tryGet(StoreKey.betaTimeline) ?? true;
|
||||
final IStoreRepository storeRepo = isBeta ? DriftStoreRepository(drift) : IsarStoreRepository(db);
|
||||
|
||||
await StoreService.init(storeRepository: storeRepo);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue