chore: make beta timeline the default (#21751)

* chore: make beta timeline the default

* fix: logic

* awaiting

* refactor
This commit is contained in:
Alex 2025-09-10 12:11:46 -05:00 committed by GitHub
parent 9a5a3c0a1d
commit 2c7b980eed
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 468 additions and 413 deletions

View file

@ -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);