Skip to content

armgit / ente

Public Imported from GitHub
0

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

[mob][photos] Update deletion logic to include 'hide' event type

AmanRajSinghMourya6f45a637cd0d
diff --git a/mobile/apps/photos/lib/services/memories_cache_service.dart b/mobile/apps/photos/lib/services/memories_cache_service.dart
index b251d9b58a..12e3e87619 100644
--- a/mobile/apps/photos/lib/services/memories_cache_service.dart
+++ b/mobile/apps/photos/lib/services/memories_cache_service.dart
@@ -208,7 +208,7 @@ class MemoriesCacheService {
}
bool _shouldInvalidateForDeletedFiles(EventType type) {
- if (type == EventType.deletedFromEverywhere) {
+ if (type == EventType.deletedFromEverywhere || type == EventType.hide) {
return true;
}