Search post

This commit is contained in:
2024-11-23 19:06:09 +08:00
parent d64a24454d
commit dfd80021b9
6 changed files with 215 additions and 6 deletions

View File

@ -80,7 +80,8 @@ class _PostDetailScreenState extends State<PostDetailScreen> {
leading: BackButton(
onPressed: () {
if (GoRouter.of(context).canPop()) {
Navigator.pop(context);
GoRouter.of(context).pop(context);
return;
}
GoRouter.of(context).replaceNamed('explore');
},