File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
frontend/mela/lib/presentation/personal/edit_screens Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -179,7 +179,10 @@ class _EditBirthdateScreenState extends State<EditBirthdateScreen> {
179179 }
180180
181181 void _showBackConfirmationDialog (BuildContext context, String input) {
182- if (input == widget.dob) return ;
182+ if (input == widget.dob) {
183+ Navigator .of (context).pop ();
184+ return ;
185+ }
183186 showDialog (
184187 context: context,
185188 barrierDismissible: false ,
Original file line number Diff line number Diff line change @@ -132,7 +132,10 @@ class _EditNameScreenState extends State<EditNameScreen> {
132132 }
133133
134134 void _showBackConfirmationDialog (BuildContext context, String input) {
135- if (input == widget.name) return ;
135+ if (input == widget.name) {
136+ Navigator .of (context).pop ();
137+ return ;
138+ }
136139 showDialog (
137140 context: context,
138141 barrierDismissible: false ,
You can’t perform that action at this time.
0 commit comments