Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

fix: only throttle for videos when multipart is not enabled

Prateek Sunalf35e2fb49c80
diff --git a/mobile/lib/services/sync/remote_sync_service.dart b/mobile/lib/services/sync/remote_sync_service.dart
index 6a02cc6c60..4d72f9924a 100644
--- a/mobile/lib/services/sync/remote_sync_service.dart
+++ b/mobile/lib/services/sync/remote_sync_service.dart
@@ -940,7 +940,8 @@ class RemoteSyncService {
}
bool _shouldThrottleSync() {
- return Platform.isIOS && !AppLifecycleService.instance.isForeground;
+ return !flagService.enableMobMultiPart ||
+ !localSettings.userEnabledMultiplePart;
}
// _sortByTime sort by creation time (desc).