From f0677735fd76610d6b8bb5a2cdb6ffd999272443 Mon Sep 17 00:00:00 2001 From: Yuvraj P Date: Mon, 5 Aug 2024 00:48:02 -0400 Subject: [PATCH] fix(mobile): Naming fix for the edited file (#11503) --- mobile/lib/pages/editing/edit.page.dart | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/mobile/lib/pages/editing/edit.page.dart b/mobile/lib/pages/editing/edit.page.dart index f7b431564b..22fb345e0f 100644 --- a/mobile/lib/pages/editing/edit.page.dart +++ b/mobile/lib/pages/editing/edit.page.dart @@ -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) {