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

pull/22527/head^2
Alex 2025-10-03 08:27:28 +07:00 committed by GitHub
parent 60b1faac0f
commit 3c5a125762
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

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