1
0
mirror of https://github.com/immich-app/immich.git synced 2025-08-08 23:07:06 +02:00

feat(mobile): edit location action (#19645)

* change dto from integer to double

* feat(mobile): edit location action

* patch openapi

* refactor in provider

* fix lint

* chore: not showing success prompt if dimissed

* i18n

---------

Co-authored-by: Alex <alex.tran1502@gmail.com>
This commit is contained in:
Daimolean
2025-07-02 00:52:11 +08:00
committed by GitHub
parent 639ede78c2
commit 83afd49f5c
18 changed files with 299 additions and 119 deletions

View File

@ -56,21 +56,21 @@ class SyncAssetExifV1 {
String? exposureTime;
int? fNumber;
double? fNumber;
int? fileSizeInByte;
int? focalLength;
double? focalLength;
int? fps;
double? fps;
int? iso;
int? latitude;
double? latitude;
String? lensModel;
int? longitude;
double? longitude;
String? make;
@ -293,14 +293,14 @@ class SyncAssetExifV1 {
exifImageHeight: mapValueOfType<int>(json, r'exifImageHeight'),
exifImageWidth: mapValueOfType<int>(json, r'exifImageWidth'),
exposureTime: mapValueOfType<String>(json, r'exposureTime'),
fNumber: mapValueOfType<int>(json, r'fNumber'),
fNumber: (mapValueOfType<num>(json, r'fNumber'))?.toDouble(),
fileSizeInByte: mapValueOfType<int>(json, r'fileSizeInByte'),
focalLength: mapValueOfType<int>(json, r'focalLength'),
fps: mapValueOfType<int>(json, r'fps'),
focalLength: (mapValueOfType<num>(json, r'focalLength'))?.toDouble(),
fps: (mapValueOfType<num>(json, r'fps'))?.toDouble(),
iso: mapValueOfType<int>(json, r'iso'),
latitude: mapValueOfType<int>(json, r'latitude'),
latitude: (mapValueOfType<num>(json, r'latitude'))?.toDouble(),
lensModel: mapValueOfType<String>(json, r'lensModel'),
longitude: mapValueOfType<int>(json, r'longitude'),
longitude: (mapValueOfType<num>(json, r'longitude'))?.toDouble(),
make: mapValueOfType<String>(json, r'make'),
model: mapValueOfType<String>(json, r'model'),
modifyDate: mapDateTime(json, r'modifyDate', r''),