π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
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.dartindex 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;