High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
fix: backup resume more reliable on app start up (#20907)
Alex8c1b630a2bdb
diff --git a/mobile/lib/utils/migration.dart b/mobile/lib/utils/migration.dartindex 609b3cfca8..022260f9d9 100644--- a/mobile/lib/utils/migration.dart+++ b/mobile/lib/utils/migration.dart@@ -223,11 +223,11 @@ class _DeviceAsset {const _DeviceAsset({required this.assetId, this.hash, this.dateTime});}-Future<void> runNewSync(WidgetRef ref, {bool full = false}) async {+Future<List<void>> runNewSync(WidgetRef ref, {bool full = false}) async {ref.read(backupProvider.notifier).cancelBackup();final backgroundManager = ref.read(backgroundSyncProvider);- Future.wait([+ return Future.wait([backgroundManager.syncLocal(full: full).then((_) {Logger("runNewSync").fine("Hashing assets after syncLocal");backgroundManager.hashAssets();