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:
parent
bb78eb4c4b
commit
f0677735fd
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user