Skip to content

armgit / ente

Public Imported from GitHub
0

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

fix: remove unnecessary db read

Prateek Sunale9c084bd546a
diff --git a/mobile/apps/photos/lib/services/smart_albums_service.dart b/mobile/apps/photos/lib/services/smart_albums_service.dart
index 7e78cefbca..d8b60b4319 100644
--- a/mobile/apps/photos/lib/services/smart_albums_service.dart
+++ b/mobile/apps/photos/lib/services/smart_albums_service.dart
@@ -133,7 +133,7 @@ class SmartAlbumsService {
}
Future<void> syncSmartAlbums() async {
- final cachedConfigs = await _fetchAndCacheSConfigs();
+ final cachedConfigs = await getSmartConfigs();
for (final entry in cachedConfigs.entries) {
final collectionId = entry.key;