fix: don't include metadata when upload motion part of LivePhotos (#25400)

* fix: don't include metadata when upload motion part of LivePhotos

* fix: get original file name
This commit is contained in:
Alex
2026-01-21 07:58:32 -06:00
committed by GitHub
parent 72caf8983c
commit 0b4a96140e
2 changed files with 26 additions and 18 deletions
@@ -307,10 +307,10 @@ class BackgroundUploadService {
priority: priority,
isFavorite: asset.isFavorite,
requiresWiFi: requiresWiFi,
cloudId: asset.cloudId,
adjustmentTime: asset.adjustmentTime?.toIso8601String(),
latitude: asset.latitude?.toString(),
longitude: asset.longitude?.toString(),
cloudId: entity.isLivePhoto ? null : asset.cloudId,
adjustmentTime: entity.isLivePhoto ? null : asset.adjustmentTime?.toIso8601String(),
latitude: entity.isLivePhoto ? null : asset.latitude?.toString(),
longitude: entity.isLivePhoto ? null : asset.longitude?.toString(),
);
}