Skip to content

armgit / ente

Public Imported from GitHub
0

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

[mob][photos] Fix issue with EnteFile not having location data

ashilkn49e64b3d4ce3
diff --git a/mobile/lib/db/files_db.dart b/mobile/lib/db/files_db.dart
index 7f82759e52..5bad957583 100644
--- a/mobile/lib/db/files_db.dart
+++ b/mobile/lib/db/files_db.dart
@@ -1824,8 +1824,8 @@ class FilesDB {
}) {
final values = <Object?>[];
- double? latitude;
- double? longitude;
+ double? latitude = file.location?.latitude;
+ double? longitude = file.location?.longitude;
int? creationTime = file.creationTime;
if (file.pubMagicMetadata != null) {