fix: auto repair bugs #68

This commit is contained in:
repair-agent 2026-03-18 17:03:18 +08:00
parent 51164ae21a
commit 54fcf294bc

View File

@ -281,7 +281,13 @@ class _BadgeHomePageState extends ConsumerState<BadgeHomePage>
child: Row(
children: [
GestureDetector(
onTap: () => context.pop(),
onTap: () {
if (context.canPop()) {
context.pop();
} else {
context.go('/');
}
},
child: Container(
width: 40,
height: 40,