chore(mobile,web): use originalFilename (#7692)

* chore(mobile,web): use originalFilename

* web

* remove unused code
This commit is contained in:
Alex
2024-03-06 22:20:04 -06:00
committed by GitHub
parent 1eea547aa2
commit cd058fdafa
2 changed files with 5 additions and 7 deletions

View File

@@ -22,7 +22,7 @@ class Asset {
updatedAt = remote.updatedAt,
durationInSeconds = remote.duration.toDuration()?.inSeconds ?? 0,
type = remote.type.toAssetType(),
fileName = p.basename(remote.originalPath),
fileName = remote.originalFileName,
height = remote.exifInfo?.exifImageHeight?.toInt(),
width = remote.exifInfo?.exifImageWidth?.toInt(),
livePhotoVideoId = remote.livePhotoVideoId,