Skip to content

armgit / ente

Public Imported from GitHub
0

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

fix: type from string

Prateek Sunalcfbacc3b4518
diff --git a/mobile/apps/photos/lib/models/api/entity/type.dart b/mobile/apps/photos/lib/models/api/entity/type.dart
index a0c2eec22a..6cf1cbc736 100644
--- a/mobile/apps/photos/lib/models/api/entity/type.dart
+++ b/mobile/apps/photos/lib/models/api/entity/type.dart
@@ -16,8 +16,8 @@ EntityType typeFromString(String type) {
return EntityType.location;
case "cgroup":
return EntityType.cgroup;
- case "sconfig":
- return EntityType.cgroup;
+ case "smart_album":
+ return EntityType.smartAlbum;
}
debugPrint("unexpected entity type $type");
return EntityType.unknown;