From cfbacc3b45185ce7b63abab44ebb9348158ff726 Mon Sep 17 00:00:00 2001 From: Prateek Sunal Date: Wed, 23 Jul 2025 15:42:48 +0530 Subject: [PATCH] fix: type from string --- mobile/apps/photos/lib/models/api/entity/type.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;