1
0
mirror of https://github.com/immich-app/immich.git synced 2024-11-24 08:52:28 +02:00

fix(mobile): Naming fix for the edited file (#11503)

This commit is contained in:
Yuvraj P 2024-08-05 00:48:02 -04:00 committed by GitHub
parent bb78eb4c4b
commit f0677735fd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -97,8 +97,10 @@ class EditImagePage extends ConsumerWidget {
gravity: ToastGravity.CENTER,
);
await PhotoManager.editor
.saveImage(imageData, title: "_edited.jpg");
await PhotoManager.editor.saveImage(
imageData,
title: '${asset!.fileName}_edited.jpg',
);
await ref.read(albumProvider.notifier).getDeviceAlbums();
Navigator.of(context).popUntil((route) => route.isFirst);
} catch (e) {