fix: mitigate database lock scenario when running full sync in splash screen page (#22608)

This commit is contained in:
Alex
2025-10-03 08:27:28 -05:00
committed by GitHub
parent 60b1faac0f
commit 3c5a125762

View File

@@ -64,7 +64,7 @@ class SplashScreenPageState extends ConsumerState<SplashScreenPage> {
if (Store.isBetaTimelineEnabled) {
bool syncSuccess = false;
await Future.wait([
backgroundManager.syncLocal(full: true),
backgroundManager.syncLocal(),
backgroundManager.syncRemote().then((success) => syncSuccess = success),
]);