Skip to content

armgit / ente

Public Imported from GitHub
0

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

Increase thumbnailDiskLoadDeferDuration from 40ms to 500ms to avoid and edge case where if gallery (device folder is a good example) is scrolled deep enough at a specific pace using the scrollbar, thumbanils fail to render when scrolling is stopped.

ashilknf4de138b08b1
diff --git a/mobile/lib/core/constants.dart b/mobile/lib/core/constants.dart
index 163399acb8..5cbd522429 100644
--- a/mobile/lib/core/constants.dart
+++ b/mobile/lib/core/constants.dart
@@ -27,7 +27,7 @@ const subGalleryMultiplier = 10;
// used to identify which ente file are available in app cache
const String sharedMediaIdentifier = 'ente-shared-media://';
-const thumbnailDiskLoadDeferDuration = Duration(milliseconds: 40);
+const thumbnailDiskLoadDeferDuration = Duration(milliseconds: 500);
const thumbnailServerLoadDeferDuration = Duration(milliseconds: 80);
// 256 bit key maps to 24 words