Skip to content

Commit 521bff8

Browse files
authored
fix: navigation issue closing editor redirects to start screen (#41)
1 parent 43096c4 commit 521bff8

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

lib/pro_image_editor/features/movable_background_image.dart

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -332,10 +332,6 @@ class _MovableBackgroundImageExampleState
332332
onImageEditingComplete: (Uint8List bytes) async {
333333
Navigator.pop(context, bytes);
334334
},
335-
onCloseEditor: (editorMode) {
336-
// Handle normal close without editing completion
337-
Navigator.of(context).pop();
338-
},
339335
mainEditorCallbacks: MainEditorCallbacks(
340336
helperLines: HelperLinesCallbacks(onLineHit: vibrateLineHit),
341337
onAfterViewInit: () {

0 commit comments

Comments
 (0)