mirror of
https://github.com/immich-app/immich.git
synced 2025-11-27 13:19:56 +09:00
chore: make beta timeline the default (#21751)
* chore: make beta timeline the default * fix: logic * awaiting * refactor
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user