[mob][photos] Chore

This commit is contained in:
ashilkn
2025-01-31 19:44:09 +05:30
parent 65ea4f755f
commit 4e7c97a45f

View File

@@ -97,7 +97,7 @@ class _SaveOrEditPersonState extends State<SaveOrEditPerson> {
@override
Widget build(BuildContext context) {
return PopScope(
canPop: changed && _inputName.isNotEmpty ? false : true,
canPop: !(changed && _inputName.isNotEmpty),
onPopInvokedWithResult: (bool didPop, Object? result) async {
if (didPop) {
return;