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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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,