mirror of
https://github.com/immich-app/immich.git
synced 2025-02-04 01:09:14 -05:00
fix(mobile): Naming fix for the edited file (#11503)
This commit is contained in:
parent
bb78eb4c4b
commit
f0677735fd
1 changed files with 4 additions and 2 deletions
|
@ -97,8 +97,10 @@ class EditImagePage extends ConsumerWidget {
|
||||||
gravity: ToastGravity.CENTER,
|
gravity: ToastGravity.CENTER,
|
||||||
);
|
);
|
||||||
|
|
||||||
await PhotoManager.editor
|
await PhotoManager.editor.saveImage(
|
||||||
.saveImage(imageData, title: "_edited.jpg");
|
imageData,
|
||||||
|
title: '${asset!.fileName}_edited.jpg',
|
||||||
|
);
|
||||||
await ref.read(albumProvider.notifier).getDeviceAlbums();
|
await ref.read(albumProvider.notifier).getDeviceAlbums();
|
||||||
Navigator.of(context).popUntil((route) => route.isFirst);
|
Navigator.of(context).popUntil((route) => route.isFirst);
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue