diff --git a/lib/components/FormPage.dart b/lib/components/FormPage.dart index e5be025..2cdb1d3 100644 --- a/lib/components/FormPage.dart +++ b/lib/components/FormPage.dart @@ -39,7 +39,7 @@ class _FormPageState extends State { changed = widget.changed || changed; return PopScope( - canPop: false, + canPop: !changed, onPopInvokedWithResult: (bool didPop, Object? result) async { if (didPop) { return;