fix: browse anonymously button takes to wrong route

This commit is contained in:
Kingkor Roy Tirtho 2024-06-06 08:43:29 +06:00
parent 982cf0bd43
commit 73c5b30b63

View File

@ -106,7 +106,7 @@ class GettingStartedScreenSupportSection extends HookConsumerWidget {
onPressed: () async { onPressed: () async {
await KVStoreService.setDoneGettingStarted(true); await KVStoreService.setDoneGettingStarted(true);
if (context.mounted) { if (context.mounted) {
context.go(HomePage.name); context.goNamed(HomePage.name);
} }
}, },
), ),