Skip to content

armgit / ente

Public Imported from GitHub
0

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

Less aggressive precompute

laurenspriem43b96776e460
diff --git a/mobile/lib/ui/viewer/people/person_gallery_suggestion.dart b/mobile/lib/ui/viewer/people/person_gallery_suggestion.dart
index 129d865d6d..37e056b1a9 100644
--- a/mobile/lib/ui/viewer/people/person_gallery_suggestion.dart
+++ b/mobile/lib/ui/viewer/people/person_gallery_suggestion.dart
@@ -123,7 +123,7 @@ class _PersonGallerySuggestionState extends State<PersonGallerySuggestion>
Future<void> _precomputeNextSuggestions() async {
try {
// Precompute face crops for next few suggestions
- const maxPrecompute = 3;
+ const maxPrecompute = 2;
final endIndex = (currentSuggestionIndex + maxPrecompute)
.clamp(0, allSuggestions.length);