Skip to content

armgit / ente

Public Imported from GitHub
0

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

fix: rename remoteId

Prateek Sunal7b528a7e2091
diff --git a/mobile/apps/photos/lib/models/collection/smart_album_config.dart b/mobile/apps/photos/lib/models/collection/smart_album_config.dart
index 9a66358025..4a2a8d207f 100644
--- a/mobile/apps/photos/lib/models/collection/smart_album_config.dart
+++ b/mobile/apps/photos/lib/models/collection/smart_album_config.dart
@@ -91,7 +91,7 @@ class SmartAlbumConfig {
factory SmartAlbumConfig.fromJson(
Map<String, dynamic> json,
- String remoteId,
+ String id,
int updatedAt,
) {
final personIDs = Set<String>.from(json["person_ids"] as List? ?? []);
@@ -107,7 +107,7 @@ class SmartAlbumConfig {
);
return SmartAlbumConfig(
- id: remoteId,
+ id: id,
collectionId: json["collection_id"] as int,
personIDs: personIDs,
infoMap: infoMap,