High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
fix: check if unmetered instead of wifi (#23380)
shenlong365abd890664
diff --git a/mobile/lib/domain/services/background_worker.service.dart b/mobile/lib/domain/services/background_worker.service.dartindex 5c228ba67c..28c87293f9 100644--- a/mobile/lib/domain/services/background_worker.service.dart+++ b/mobile/lib/domain/services/background_worker.service.dart@@ -239,7 +239,7 @@ class BackgroundWorkerBgService extends BackgroundWorkerFlutterApi {final networkCapabilities = await _ref?.read(connectivityApiProvider).getCapabilities() ?? [];return _ref?.read(uploadServiceProvider)- .startBackupWithHttpClient(currentUser.id, networkCapabilities.hasWifi, _cancellationToken);+ .startBackupWithHttpClient(currentUser.id, networkCapabilities.isUnmetered, _cancellationToken);},(error, stack) {dPrint(() => "Error in backup zone $error, $stack");