Skip to content

armgit / ente

Public Imported from GitHub
0

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

[mob][photos] Lower Backup mode banner threshold to 50 files (#14005)

aman-pilotb0081b8c4619
diff --git a/mobile/apps/photos/changes/backup-mode-threshold.md b/mobile/apps/photos/changes/backup-mode-threshold.md
new file mode 100644
index 0000000000..a0d7bc2323
--- /dev/null
+++ b/mobile/apps/photos/changes/backup-mode-threshold.md
@@ -0,0 +1 @@
+- Lowered the iOS Backup mode banner threshold from 500 to 50 pending files.
diff --git a/mobile/apps/photos/lib/services/sync/large_backup_session_tracker.dart b/mobile/apps/photos/lib/services/sync/large_backup_session_tracker.dart
index e6ad2cb825..16e5dd3718 100644
--- a/mobile/apps/photos/lib/services/sync/large_backup_session_tracker.dart
+++ b/mobile/apps/photos/lib/services/sync/large_backup_session_tracker.dart
@@ -4,7 +4,7 @@ import "package:photos/events/sync_status_update_event.dart";
class LargeBackupSessionTracker extends ChangeNotifier {
static final _logger = Logger("LargeBackupSessionTracker");
- static const int minimumFileCount = 500;
+ static const int minimumFileCount = 50;
bool _isEligible = false;
bool _isUploading = false;