We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 44955d3 commit ad5a7c1Copy full SHA for ad5a7c1
1 file changed
lib/presentation/profile/profile_view.dart
@@ -124,13 +124,13 @@ class ProfileScreen extends StatelessWidget {
124
ProfilePageBloc>()
125
.add(
126
const DeleteHostelChangeRequest());
127
- Navigator.pop(ctx);
+ ctx.router.pop();
128
},
129
child: const Text('Delete'),
130
),
131
TextButton(
132
onPressed: () =>
133
- Navigator.pop(ctx),
+ ctx.router.pop(),
134
child: const Text('Cancel'),
135
)
136
],
0 commit comments