mirror of
https://github.com/ente-io/ente.git
synced 2025-08-08 07:28:26 +00:00
[mob] Sync fd early
This commit is contained in:
parent
3a09d50972
commit
982b4a4244
@ -18,6 +18,7 @@ import 'package:photos/events/sync_status_update_event.dart';
|
||||
import 'package:photos/events/trigger_logout_event.dart';
|
||||
import 'package:photos/models/backup_status.dart';
|
||||
import 'package:photos/models/file/file_type.dart';
|
||||
import "package:photos/services/filedata/filedata_service.dart";
|
||||
import "package:photos/services/files_service.dart";
|
||||
import 'package:photos/services/local_sync_service.dart';
|
||||
import 'package:photos/services/notification_service.dart';
|
||||
@ -86,6 +87,7 @@ class SyncService {
|
||||
_existingSync = Completer<bool>();
|
||||
bool successful = false;
|
||||
try {
|
||||
FileDataService.instance.syncFDStatus().ignore();
|
||||
await _doSync();
|
||||
if (_lastSyncStatusEvent != null &&
|
||||
_lastSyncStatusEvent!.status !=
|
||||
|
Loading…
x
Reference in New Issue
Block a user